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

Include valid examples in the hint for ambiguous embedding #2031

Merged
merged 8 commits into from
Nov 24, 2021

Conversation

laurenceisla
Copy link
Member

@laurenceisla laurenceisla commented Nov 20, 2021

The example given when an Ambiguous Embedding error is thrown shows a generic example /origin?select=relationship(*) or /origin?select=target!relationship(*).

This PR adds examples with the real target!relationship names relevant to the query, omitting the origin and the select clause.

Edit: Also adds changes to other parts of the error to make it clearer to the user.

@laurenceisla laurenceisla marked this pull request as ready for review November 22, 2021 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants