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

refactor: change the querySpec class to record #169

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chaimaMeliani
Copy link
Contributor

Description

In this PR, we will change the QuerySpec class to a record

@chaimaMeliani chaimaMeliani self-assigned this Nov 13, 2024
Copy link
Collaborator

@ndr-brt ndr-brt left a comment

Choose a reason for hiding this comment

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

I think this, despite tests are working fine, won't work in a communication with a real connector: a json-ld cannot not have the @context attribute.

It is ok, to have a record QuerySpec, but we should ensure that, for the management api, it is transformed in a valid json-ld representation.

Unfortunately the tests made with Prism cannot detect that, we should add some e2e tests based on a real connector, as we're doing in the TypeScript client.

I will create an issue about.

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.

2 participants