< 222024-12-23⋎24 >

Topic for #farmOS is: farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Forum: farmOS.discourse.groupSet by mstenta on 2021-06-15 at 12:52
15:14mstenta[m]Yea agreed - the change record would be a nice place for that info... www.drupal.org/node/3424710
15:14mstenta[m]PS: It was merged into 11.x! 🎉
15:18mstenta[m]Oh this...
15:18mstenta[m]> While Drupal Core now contains an API for generating these schemas for content entity types, site-wide schema generation in an end-user format (e.g., OpenAPI) is left to contrib and custom code. The openapi_jsonapi module uses this new functionality to provide an OpenAPI schema document for sites using JSON:API.
15:18mstenta[m]* code. The [openapi_jsonapi, * openapi_jsonapi](drupal.org/project/openapi_jsonapi) module
16:25FarmerEd[m]Will there be much change in schema for us? Or is that unknown yet?
16:26symbioquine[m]If I'm understanding correctly, it wouldn't change the JSON:API api itself, only how the schema for that api is served...
16:27symbioquine[m]So depending what you're doing, you might not even notice. i.e. if you're just reading/writing asset/log/quantity entities.
16:28mstenta[m]In other words, /api/asset/animal WILL NOT change but /api/asset/animal/resource/schema MIGHT
16:29symbioquine[m]But if you're doing things that need to be aware of which fields are available on an asset by reading the schema from /api/schema/... then you could be affected.
16:29symbioquine[m]* But if you're doing things that need to be aware of which fields are available on an asset (for example) by reading the schema from /api/schema/... then you could be affected.
16:30mstenta[m]This would be a documented breaking change in farmOS 4.x, but not 3.x
16:31mstenta[m]It's also possible that we KEEP the jsonapi_schema module in 4.x but deprecate it
16:32symbioquine[m]mstenta[m]: That seems like it might be smart - assuming openapi_jsonapi is significantly different.
16:32mstenta[m]Pending what happens in the ecosystem
16:33symbioquine[m]* That seems like it might be smart - assuming openapi_jsonapi (or whatever module we end up using) is significantly different.
16:33mstenta[m]The jsonapi_schema maintainers may refactor to use the new core functionality
16:33symbioquine[m]mstenta[m]: That would be great
16:34mstenta[m]Based on the change record it sounds like core is not adding endpoints itself
16:38symbioquine[m]I hope it fixes some of these things: github.com/symbioquine/farmOS_asset_link
16:39mstenta[m]Yea we're applying a bunch of patches to jsonapi_schema right now iirc 😅
16:40symbioquine[m]Gotta run. Cy'all - happy Monday!
16:40mstenta[m]github.com/farmOS/farmOS/blob/b5a8324bb3
22:51*farmBOT has joined

< 222024-12-23⋏24 >