Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto registration as CAP plugin #87

Merged
merged 2 commits into from
Jan 18, 2024
Merged

Auto registration as CAP plugin #87

merged 2 commits into from
Jan 18, 2024

Conversation

chgeo
Copy link
Owner

@chgeo chgeo commented Jan 18, 2024

  • The middleware registers itself when loaded as a CAP plugin
  • Declarative configuration through package.json / cds-rc.json
  • Programmatic registration is still possible, but disables auto mode then
  • Make @sap/cds-dk optional

- The middleware registers itself when loaded as a CAP plugin
- Declarative configuration through `package.json` / `cds-rc.json`
- Programmatic registration is still possible, but disables auto mode then
If running with the `cds` executable during development,
the dependency is fulfilled anyways. Only when running as part of
a deployed appi with `cds-serve`, then such a dependency is needed.
@chgeo chgeo merged commit 07cc93e into main Jan 18, 2024
2 checks passed
@chgeo chgeo deleted the cds-plugin branch January 18, 2024 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant