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
In WriteAuthorizationModelRequest, schema_version should be required
In ReadAuthorizationModelRequest, id should be required
In TupleKey all are required
All responses
These currently cause a lot of DX problems in the SDKs, as the generated types show that the fields are optional.
E.g. In the typescript SDK, users have to check for nullability on responses even if we know it will never be null, and they mistakenly think that some fields are optional in requests even when they are.
In the Go SDK, we have to make the fields accept pointer instead of values because of this when it is unnecessary
The text was updated successfully, but these errors were encountered:
This includes:
WriteAuthorizationModelRequest
,schema_version
should be requiredReadAuthorizationModelRequest
,id
should be requiredTupleKey
all are requiredThese currently cause a lot of DX problems in the SDKs, as the generated types show that the fields are optional.
E.g. In the typescript SDK, users have to check for nullability on responses even if we know it will never be null, and they mistakenly think that some fields are optional in requests even when they are.
In the Go SDK, we have to make the fields accept pointer instead of values because of this when it is unnecessary
The text was updated successfully, but these errors were encountered: