What are the Slack Archives?
Itโs a history of our time together in the Slack Community! Thereโs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonโt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hello all, I have been creating Glue modules but I see the `RestResponseInterface` that my Glue ac
Hello all, I have been creating Glue modules but I see the RestResponseInterface
that my Glue actions return will soon be depreciated. Can someone please advise me what is the alternative to this? For reference, please see the following code:
public function getAction(RestRequestInterface $restRequest): RestResponseInterface // <--- This return type is depreciated { ... return (new RestResponse())->addResource($resource);
Comments
-
Hi, sometimes is it useful to use the search: https://sprykercommunity.slack.com/archives/CKJRJM5FG/p1660653504461709
0 -
Hello @UK7KBE2JW. Thanks for the link but it does not open for me because the message is more than 90 days old which requires a paid plan to be accessed. Which I do not have currently.
0 -
@UK7KBE2JW Is it possible for you to requote/paste the important messages from this thread here?
0 -
-
@UK7KBE2JW Thanks
0 -
giovanni.piemontese Technical Lead @ Lรถffelhardt Spryker Solution Partner Posts: 871 ๐ง๐ปโ๐ - Cadet
https://docs.spryker.com/docs/scos/dev/glue-api-guides/202204.0/glue-backend-api/how-to-guides/how-to-create-a-resource.html is old and deprecated.. now it exists the glue-storefront-api and glue-backend-api..
In spryker there is right now chaos about Glue.... There's Glue (with almost everything deprecated) and then the new glue-storefront-api and glue-backend-api which, however, in turn are not quite complete. For example at the moment access-tokens etc.. goes toward the Glue application but the resources "should" be implemented in the respective glue-frontend and glue-backend applications respectively.
At the documentation level a catastrophe, honestly!0 -
This was the latest document according to glue deprecated stuff on the last request
0 -
giovanni.piemontese Technical Lead @ Lรถffelhardt Spryker Solution Partner Posts: 871 ๐ง๐ปโ๐ - Cadet
yes i see... but is old and deprecated and if u want write a glue api module u don't have to follow this documentation because is not the state-of-the-art in spryker actually...
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K ๐ Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random