-
Notifications
You must be signed in to change notification settings - Fork 7
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
Adds completion for YIELD elements in a procedure call #292
Conversation
🦋 Changeset detectedLatest commit: feba9a1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 5 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
}); | ||
|
||
test('Correctly completes YIELD when we have backticks in the procedure name', () => { | ||
const query1 = 'CALL `dbms`.`components`() YIELD '; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to see a test that works for:
CALL dbms.components() YIELD n // offers name as completion
CALL dbms.components() YIELD name, e // offers edition as completion
CALL dbms.components() YIELD name, edition, // offers version as completion
I think that was not working yesterday and it should
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And it would be nice if we can fix these completions:
CALL dbms.components() YIELD name, version RETURN ^
and get name, version
as possible completions there
When we have a procedure call like:
we want to get completions for the different return elements the procedure can produce.
This PR adds that.