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
When creating an object with basic auth, the updatedBy property comes back as null / nil. The description of this property says as much. However, on the DB-TimestampUserData object, these properties are marked as required. Since these properties are marked required, generated client library will generate not nullable Guid property in C#. The response cannot be deserialized.
Also, the createdBy's description says it should returned as null/nil as well. However, the value is returned as an empty Guid in this case.
I would also expect the createdAt to be less or equal to updatedAt. It appears the object is updated one millisecond before it was created.
To Reproduce
Steps to reproduce the behavior:
Deploy service using BASIC AUTH
Create a document
View the response
Expected behavior
Since createdBy is set to Empty/Zero Guid, the updatedBy should be set the same way. Alternatively, these two properties should be nullable/not-required in the API specification.
Screenshots
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
The text was updated successfully, but these errors were encountered:
We have dropped the required flags on the updatedBy and updatedAt attributes from the DB-TimestampUserData schema on the OpenAPI spec. Will be in v0.4.0.
Describe the bug
When creating an object with basic auth, the updatedBy property comes back as null / nil. The description of this property says as much. However, on the DB-TimestampUserData object, these properties are marked as required. Since these properties are marked required, generated client library will generate not nullable Guid property in C#. The response cannot be deserialized.
Also, the createdBy's description says it should returned as null/nil as well. However, the value is returned as an empty Guid in this case.
I would also expect the createdAt to be less or equal to updatedAt. It appears the object is updated one millisecond before it was created.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Since
createdBy
is set to Empty/Zero Guid, theupdatedBy
should be set the same way. Alternatively, these two properties should be nullable/not-required in the API specification.Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: