From f3618b683b75f02837306dd002017c07a1e5076c Mon Sep 17 00:00:00 2001 From: Marcel Schwarz Date: Wed, 12 Jul 2023 16:24:19 +0200 Subject: [PATCH] Swap annotate and `cds w` steps in readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 371c4a6b..e9da5757 100644 --- a/README.md +++ b/README.md @@ -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