-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add types tag #4235
Add types tag #4235
Conversation
0b51a14
to
2dc48a3
Compare
I just force-pushed a fix to the |
This PR isn't complete yet. I forgot to add a |
76310dd
to
a5a1d11
Compare
To quote my last commit message:
|
I don't understand the CI error:
That test does not pass the Update: I also can't reproduce this on my local dev stack. I think the problem is that the |
85a7cca
to
77336e1
Compare
d58483a
to
0c50189
Compare
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.
Looks great 👏
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.
LGTM. I've added some minor comments.
Keys must be NameExpressions, values must be string constants.
0c50189
to
0c914f7
Compare
0c914f7
to
6ef49ac
Compare
6ef49ac
to
3ac3aab
Compare
Thank you @drjayvee. |
Not sure why Github didn't work as expected here. I'm closing but it's merged. |
Hi @drjayvee, Is there a reason to not support
too ? Like it's done for classic objects |
I guess we did not consider this as it looks a bit ugly for optionally. But sure, we could still accept this. Especially as it's better in line with mappings. I do hope we can turn of the quoting for the |
@VincentLanglet variable names need to be valid identifiers anyway to be usable, so I don't see the benefit of supporting string literals as keys there instead of only identifiers. |
The is a draft implementation for #4165.