-
Notifications
You must be signed in to change notification settings - Fork 156
Closed
Labels
📦 CMSCraft CMS content related issueCraft CMS content related issue
Description
A seemingly very common bug is for devs to rely on request/response props and methods that are available in a web app context, but not in a console one.
Especially with the queue, devs may not realize that their code needs to be able to run as web OR console.
So, one generally needs to sprinkle a bunch of getIsConsoleRequest conditionals around.
Is there a better solution here?
The bug is understandable, as things may work fine for the dev when testing if they are not running their queue from console.
Examples:
Metadata
Metadata
Assignees
Labels
📦 CMSCraft CMS content related issueCraft CMS content related issue