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 your documentation of Arg https://decapi.netlify.com/docs-docs-explore-arg it shows having a defaultValue such as @Arg({ nullable: true, defaultValue: 2 }) exponent: number. Yet the API and the TS Types don't include defaultValue as a valid known property.
The text was updated successfully, but these errors were encountered:
nicely spotted. I think I removed it because this feature is not really needed-you should be able to use default parameters as they work in JS/TS.
Making it look like: @Arg({ nullable: true}) exponent = 2
but I will definitely check if this works as expected. Maybe add a spec for this too.
In your documentation of Arg https://decapi.netlify.com/docs-docs-explore-arg it shows having a
defaultValue
such as@Arg({ nullable: true, defaultValue: 2 }) exponent: number
. Yet the API and the TS Types don't includedefaultValue
as a valid known property.The text was updated successfully, but these errors were encountered: