-
Notifications
You must be signed in to change notification settings - Fork 458
Add support for type parameters for interfaces and nullable property #2288
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
base: main
Are you sure you want to change the base?
Conversation
|
Thanks for the PR! This section of the codebase is owned by @saschanaz - if they write a comment saying "LGTM" then it will be merged. |
inputfiles/patches/indexeddb.kdl
Outdated
| @@ -0,0 +1,5 @@ | |||
| interface IDBRequest { | |||
| property source nullable=#false | |||
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.
this should use type node instead
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 don't understand @saschanaz
Can you clarify?
This is how it is structured in the json file
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 not in KDL, because it's "property with a nullable type" rather than "nullable property"...
|
If you meant line 3 @saschanaz, then it doesn't work because it is not a known type |
|
The issue is that it is an empty string what do you want me to do @saschanaz
|
inputfiles/patches/indexeddb.kdl
Outdated
| interface IDBRequest { | ||
| property source nullable=#false | ||
| property result overrideType=T | ||
| property result type=T |
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.
It should be overrideType as T is not Web IDL type
Maybe overrideType needs a better name...
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.
This is outdated
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.
This is outdated
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.
This is outdated
No description provided.