So this means Drupal Commerce is not usable for headless projects like NextDrupal for example due to compatibility issues with JSON:API Extras? - Is there any headless Drupal project, that is not using "JSON:API Extras"?
- πΊπΈUnited States mglaman WI, USA
Is there any headless Drupal project, that is not using "JSON:API Extras"?
Yeah, just about every project I have been on!
- πΊπΈUnited States z3cka
Is there any headless Drupal project, that is not using "JSON:API Extras"?
@mogio_hh it seems that Druxt does not use JSON:API Extras, FWIW. Personally, I've gone away from JSON:API Extras as well because I don't really like modules that just make a bunch or random tweaks. Yes, they are convenient, but don't add much value beyond that, IMO.
- πΊπΈUnited States bradjones1 Digital Nomad Life
So I'm not sure this entirely boils down to "not compatible with extras" but, yeah, it's not compatible with extras. For SEO purposes I'll note here that I kept getting
::withRelatableResourceTypes() must be called before getting relatable resource types.
on install and cache clear. I _think_ this is due to some sort of race condition with other decorators of the resource type repository, but after an hour of trying to track it down I basically gave up.Discussed with @mglaman briefly in Slack and it sounds like some maintenance has been done on this package to bring it up to speed with other ecosystem modules and core but it's a heavier lift than I'm looking to do, now.
- First commit to issue fork.
- π©πͺGermany Anybody Porta Westfalica
The documented patches at https://git.drupalcode.org/project/commerce_api/-/blob/8.x-1.x/README.md... need to be updated, they don't apply any more, I'll prepare a MR.
- Status changed to Needs review
7 months ago 11:01am 15 May 2024 - π©πͺGermany Anybody Porta Westfalica
- #2996114: Argument 2 passed to Drupal\jsonapi\Routing\Routes::Drupal\jsonapi\Routing\{closure}() must be an instance of Drupal\jsonapi\ResourceType\ResourceType, NULL given β has been fixed (removed)
- π Improve installer performance by ~20% by rebuilding the router after the entire installation is complete rather than after each module Fixed has been fixed (removed)
- #3021930: Follow-up to SA-CONTRIB-2018-081: Restore JSON:API filter access β has been fixed (removed)
- #3091299: Support entities that have non-config entity bundles β has been fixed (removed)
- π Support non-entity bundle types Fixed is RTBC (would be nice to get it merged and released) - upated to https://www.drupal.org/files/issues/2023-06-05/3084914-22.patch βGuess this should be merged to bring the README.md suggested patches up to date.
- Merge request !20Resolve #3116465 "Update document recommended patches" β (Open) created by Anybody
- last update
7 months ago 90 pass - last update
7 months ago 90 pass - π©πͺGermany Anybody Porta Westfalica
π Support non-entity bundle types Fixed is now fixed!
I'll remove it from the MR. β¨ Support for cross bundle resource types Needs work is the last one now to be fixed for commerce_api! π