Skip to content
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

ReadOnlyClientInterface is not being created for CW721-base contract (Branch v0.16) #120

Open
tot-truong opened this issue Jun 27, 2023 · 1 comment

Comments

@tot-truong
Copy link

tot-truong commented Jun 27, 2023

When trying to create the client for the cw721-base contract (branch v0.16!) the XxxReadOnlyInterface is not created.

Looking at the schema file

{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "QueryMsg_for_Empty", "oneOf": [ { "description": "Return the owner of the given token, error if token does not exist Return type: OwnerOfResponse", [....]

I noticed that when manually changing the title to (removing the "_for_Empty" part)

"title": "QueryMsg",

and running TS-codegen again also the XxxReadOnlyClientInterface is created properly.

@pyramation
Copy link
Collaborator

did you end up resolving this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants