Skip to content

feat: Add GraphiQL link to index page#221

Merged
schwma merged 8 commits intocap-js:mainfrom
lochlouw:add-link-to-graphiql
Jan 21, 2026
Merged

feat: Add GraphiQL link to index page#221
schwma merged 8 commits intocap-js:mainfrom
lochlouw:add-link-to-graphiql

Conversation

@lochlouw
Copy link
Contributor

@lochlouw lochlouw commented Jan 19, 2026

  • Registers a link provider that adds a GraphiQL link to the service index HTML page for GraphQL endpoints, making it easier to access the GraphiQL interface.

closes #220

…that adds a GraphiQL link to the service index HTML page for GraphQL endpoints, making it easier to access the GraphiQL interface.
@lochlouw lochlouw requested a review from a team as a code owner January 19, 2026 09:05
@lochlouw lochlouw marked this pull request as draft January 19, 2026 09:06
@lochlouw lochlouw marked this pull request as ready for review January 19, 2026 09:31
@lochlouw
Copy link
Contributor Author

Work related to issue #220

Copy link
Member

@schwma schwma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @lochlouw, thank you for your PR!

Could you please address the review comments?

Regarding the comment on the graphiql.test.js test suite, we were experiencing some Jest test concurrency issues which lead us to establish the pattern of only calling cds.test once per test suite. Therefore, please move your describe block into the root describe block, to use the same cds.test instance.

Additionally, an entry to the tbd section of the CHANGELOG.md would be helpful, if you would like to add one.

Thanks and best regards,
Marcel

Copy link
Member

@schwma schwma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed one more small thing in a test expect. Apart from that everything looks good!

Co-authored-by: Marcel Schwarz <marcel.schwarz@sap.com>
@schwma schwma changed the title feat: Add link to GraphiQL explorer feat: Add GraphiQL link to index page Jan 21, 2026
Copy link
Member

@schwma schwma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thank you! :)

@schwma schwma merged commit 8401cbb into cap-js:main Jan 21, 2026
3 checks passed
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.

Add GraphiQL Client link to CAP service list page (index.html)

2 participants