Skip to content

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

Open

Description

@tot-truong

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.

Activity

  1. pyramation commented on Oct 3, 2023

    @pyramation
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions