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 the server case we obviously have limitations around being able to create type safe default values, however for the client we should be able to respect the default values (at the very least for primitives). Consider the following generated code:
Here it should be relatively trivial to support the default parameter. For non-primitives we could ignore the, add a configuration that allows specifying how to transform them (somewhat brittle), or we could attempt to recurse through the type description and line up the fields with their declarations.
The text was updated successfully, but these errors were encountered:
In the server case we obviously have limitations around being able to create type safe default values, however for the client we should be able to respect the default values (at the very least for primitives). Consider the following generated code:
Here it should be relatively trivial to support the default parameter. For non-primitives we could ignore the, add a configuration that allows specifying how to transform them (somewhat brittle), or we could attempt to recurse through the type description and line up the fields with their declarations.
The text was updated successfully, but these errors were encountered: