Skip to content

Solve issue 293 about IDENTITY #394

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

Merged
merged 2 commits into from
Dec 16, 2022
Merged

Conversation

VincentLanglet
Copy link
Contributor

@VincentLanglet VincentLanglet commented Nov 19, 2022

Closes #293

I started by adding a failing test

In the expression IDENTITY(o.subOne), I need to know if o is nullable (or if one of the previous relation is nullable if I made more LEFT-JOIN).
I just discovered that a method isQueryComponentNullable was provided for this purpose.

@VincentLanglet VincentLanglet changed the title Add failing test Add failing test for 293 Nov 19, 2022
@VincentLanglet VincentLanglet marked this pull request as draft November 19, 2022 13:32
@VincentLanglet VincentLanglet changed the title Add failing test for 293 Solve issue 293 about IDENTITY Dec 9, 2022
@VincentLanglet VincentLanglet marked this pull request as ready for review December 9, 2022 13:21
@VincentLanglet
Copy link
Contributor Author

This is ready to be reviewed @ondrejmirtes (and was simpler than expected finally).

Only lowest build are failing, for unrelated reason.

@ondrejmirtes ondrejmirtes merged commit cf2bc23 into phpstan:1.3.x Dec 16, 2022
@ondrejmirtes
Copy link
Member

Thank you.

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.

Function IDENTITY() loses null type
2 participants