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

@key in todoApp spec #49

Open
ArcturusZhang opened this issue Dec 23, 2024 · 0 comments
Open

@key in todoApp spec #49

ArcturusZhang opened this issue Dec 23, 2024 · 0 comments

Comments

@ArcturusZhang
Copy link
Collaborator

There are a few use cases of @key @visibility("read") for id property in the create body in todoApp spec, for example:

Because the operation is not using a template, all emitters are treating the property as if there is no @key.
Therefore in the client side test cases, we do not even have a way to put the id into the request - the path does not have that parameter, and in body, it has visibility("read") therefore it should not appear in the body.
Now we have a very weird situation that the server is expecting the id value, but on the client side, we have no way to put it into the request.

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

No branches or pull requests

1 participant