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

cli: unhelpful error message in ddn model add #10436

Open
imperfect-fourth opened this issue Jul 15, 2024 · 0 comments
Open

cli: unhelpful error message in ddn model add #10436

imperfect-fourth opened this issue Jul 15, 2024 · 0 comments
Labels
c/cli Related to CLI ddnbugbounty-2024 k/v3-bug Bug affecting Hasura v3 (DDN)

Comments

@imperfect-fourth
Copy link
Member

imperfect-fourth commented Jul 15, 2024

typo in model names/non-existent model names in ddn model add command throws unhelpful error message:

$ ddn model add --name userss   --connector-link my_pg2   --subgraph my_subgraph/subgraph.yaml
        LOAD  Project
         ADD  Model for collection userss, connector my_pg2
                ERROR Invalid ndc definition for collection userss, connector my_pg2
9:18PM ERR error adding model: exit status 2

image

@imperfect-fourth imperfect-fourth added c/cli Related to CLI k/v3-bug Bug affecting Hasura v3 (DDN) ddnbugbounty-2024 labels Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/cli Related to CLI ddnbugbounty-2024 k/v3-bug Bug affecting Hasura v3 (DDN)
Projects
None yet
Development

No branches or pull requests

1 participant