If a module wants to generate the URI to the jsonapi representation of an entity, it must use the LinkGenerator class. Since that's the recommended class to use, we should promote it from @internal to @api.

CommentFileSizeAuthor
mark-api-classes.patch1.15 KBdeviantintegral

Comments

deviantintegral created an issue. See original summary.

e0ipso’s picture

Thans @deviantintegral for submitting the patch. We already agreed on this. So I'll merge now.


Now that we have an stable release and some modules exercising the APIs marked as internal (like JSON API Extras), it's time to pave the cow path. This is the first.

  • e0ipso committed 2f35666 on 8.x-1.x authored by deviantintegral
    feat(API): Mark LinkGenerator and ResourceType as @api classes (#2907123...
e0ipso’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.