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
Since release 3.0.0 all fields on Payment became optional. What is the rational for this? How are these types should now be used? Should we be using not-null assertion?
According to the api reference fields like amount cannot be undefined. Also it is very strange now that some fields can be both undefined and null.
The text was updated successfully, but these errors were encountered:
wpf500
added a commit
to beabee-communityrm/beabee
that referenced
this issue
Jan 5, 2023
Hi @aharin! Our types are generated from our schema, which marks certain fields as required.
Before v3.0, all fields were wrongfully marked as required and 3.0 switched to defaulting to optional and only marking fields required only if specified by the schema.
We'll have a look to see why some fields are not explicitly required while in practice they are.
Since release 3.0.0 all fields on Payment became optional. What is the rational for this? How are these types should now be used? Should we be using not-null assertion?
According to the api reference fields like amount cannot be undefined. Also it is very strange now that some fields can be both undefined and null.
The text was updated successfully, but these errors were encountered: