Submit

Back to the channels

#java

  1. deebo has anyone seen / used a solution for a "graphql-lite" that could be implemented in a single (spring mvc) http api? something where the caller could say without a constantly extended request body things like "i don't need the different tax rate values" -> no need to calculate taxes
  2. deebo this is essentially what graphql is for, but it brings with it so much extra stuff that something simpler would be better if such a thing exists
  3. deebo could use nested graphql schemas, but no java service exists for serving it, only apollo federation, and we specifically moved away from apollo previously
  4. dreamreal https://bytecode.news/posts/2026/11/accreted-specifications
  5. dreamreal ... javabot's MIA again.
  6. enoq does a Java File represent a file handle as in: can I continue using the same instance to read from it despite it being moved to a different folder in the meantime
  7. Para Yes, although for modernity's sake you should pass around Paths.
  8. Para Better API support.
  9. Para Also if you leave behind open streams to the File, you'll be having all kinds of worries :)
  10. dreamreal Use Path yes
  11. dreamreal Para++
  12. nevet Para now has karma of 4.
  13. nimaje hm, java.io.File doesn't allow you to read the file as it only represents a pathname
  14. nimaje do you mean java.io.FileInputStream? That one represents a file handle
  15. LaSombra q
  16. jreicher enoq: did you see nimaje's answer? I have a hunch you might not be aware of the OS's part in this too, but I could be wrong.
  17. enoq jreicher: yes, my internet is flaky today

Search posts