Skip to content

Conversation

@Bashamega
Copy link
Contributor

No description provided.

@github-actions
Copy link
Contributor

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.

@@ -0,0 +1,5 @@
interface IDBRequest {
property source nullable=#false
Copy link
Collaborator

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

Copy link
Contributor Author

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

Copy link
Collaborator

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"...

@Bashamega
Copy link
Contributor Author

If you meant line 3 @saschanaz, then it doesn't work because it is not a known type

@Bashamega
Copy link
Contributor Author

The issue is that it is an empty string what do you want me to do @saschanaz

Sorry for all the commits I am working from my mobile phone right now and use the Github app

interface IDBRequest {
property source nullable=#false
property result overrideType=T
property result type=T
Copy link
Collaborator

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...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is outdated

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is outdated

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is outdated

@@ -0,0 +1,7 @@
interface IDBRequest {
property source {
type "" nullable=#false
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can probably skip the type name in this case (and modify the code to accept that)

type "" nullable=#false
}
property result overrideType=T
typeParameters T default=any
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this to the top?

@Bashamega
Copy link
Contributor Author

I have fixed it

@Bashamega Bashamega requested a review from saschanaz December 15, 2025 13:50
@saschanaz
Copy link
Collaborator

LGTM, thanks!

@github-actions github-actions bot merged commit 7bf5b55 into microsoft:main Dec 16, 2025
5 checks passed
@github-actions
Copy link
Contributor

Merging because @saschanaz is a code-owner of all the changes - thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants