-
Notifications
You must be signed in to change notification settings - Fork 31
Generated ts client files misses override modifier #78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
hi @dadamu are do you happen to have a method of the same name in both your |
@pyramation No, they don't have the same name, the example contract is here. |
I will look into making an option for this. In the meantime, it looks like you can also set |
tracking here #79 |
just create a new option Defaults to false to keep backwards compat for now.
|
@pyramation Thanks for the help! |
This PR bumps ts codegen to v0.21.1 to solve missing override modifier in generated ts files issue by hyperweb-io/ts-codegen#78. Co-authored-by: Manuel Turetta <[email protected]>
The generated client file from json schema from
cw_serde
could not work properly since it misses theoverride
modifier.For instance, the generated Poap.client.ts shows:
Then, thhe error shows:
After adding override modifier to PoapClient property can solve the issue, like:
The text was updated successfully, but these errors were encountered: