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

Mark the statusCode property of Endpoint in mockHook required ? #849

Open
spaenleh opened this issue Jul 22, 2024 · 0 comments
Open

Mark the statusCode property of Endpoint in mockHook required ? #849

spaenleh opened this issue Jul 22, 2024 · 0 comments
Assignees
Labels
question Further information is requested

Comments

@spaenleh
Copy link
Member

spaenleh commented Jul 22, 2024

Currently the statusCode property is marked as optional in the Endpoint type when making tests. But this can lead to typos. If we make it required it should lead to better DX, but we will have to add it back everywhere it was omitted.

@spaenleh spaenleh added the question Further information is requested label Jul 22, 2024
@spaenleh spaenleh self-assigned this Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant