Make it configurable whether to cancel starting the medusa server if APIs fail to load #6749
jamescjensen
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
registerApi
inpackages/medusa/src/loaders/plugins.ts
will gracefully warn and continue on if it fails to load routes. I can see the benefit of this, but I would like my builds to fail if my custom APIs cannot be loaded, so that I don't falsely think everything is going fine. I think this should be configurable (maybe an argument onmedusa start
?) so that both use cases can be supported.Beta Was this translation helpful? Give feedback.
All reactions