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

docs: swap annotate and cds w steps in README #112

Merged
merged 2 commits into from
Jul 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ _**WARNING:** This package is in an early general availability state. This means

> This will automatically plugin to `@sap/cds` runtime, enabling the new [middlewares architecture](https://cap.cloud.sap/docs/node.js/middlewares) in Node.js, and register a GraphQL endpoint at `/graphql` serving all CRUD requests for the application services found in your model.

2. Run your server as usual, e.g. using `cds watch`.
2. Annotate the services you want to serve, e.g. using `@graphql` or `@protocol: 'graphql'`.

3. Annotate the services you want to serve, e.g. using `@graphql` or `@protocol: 'graphql'`.
3. Run your server as usual, e.g. using `cds watch`.
> The runtime will serve all annotated services via GraphQL at the default configured endpoint.

## Limitations
Expand Down