You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.
If we create a new schema by adding objects, we should have a good type of the result, which will allow us to know the available schemas and their versions statically. This would provide a great IntelliSense for commands and assertions.
If we create a new schema by adding objects, we should have a good type of the result, which will allow us to know the available schemas and their versions statically. This would provide a great IntelliSense for commands and assertions.
For example, in https://github.com/bahmutov/todo-api-with-json-schema/blob/master/schemas/index.ts we know both schemas
So when we access
schemas
, we should statically know that onlyPostTodoRequest
andPostTodoResponse
are valid propertiesRelated look ups
https://mariusschulz.com/blog/typescript-2-1-keyof-and-lookup-types
The text was updated successfully, but these errors were encountered: