Skip to content
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

fix: dont throw exception when unknown column type is encountered #451

Merged
merged 2 commits into from
Feb 10, 2020
Merged

fix: dont throw exception when unknown column type is encountered #451

merged 2 commits into from
Feb 10, 2020

Conversation

canvural
Copy link
Collaborator

@canvural canvural commented Feb 5, 2020

Fixes #449

@canvural canvural changed the title fix: dont throw exception when unknown column type is encountered WIP: fix: dont throw exception when unknown column type is encountered Feb 5, 2020
@canvural
Copy link
Collaborator Author

canvural commented Feb 5, 2020

Actually doing nothing is not quite right. We know there is a property that exists by the name, we just don't know its type. Maybe we can return mixed as its type. So we would avoid errors like Access to undefined property ...

@canvural
Copy link
Collaborator Author

canvural commented Feb 6, 2020

Ok, I updated the PR. Instead of throwing error when unknown column type is encountered, we will treat it as a mixed

@canvural canvural changed the title WIP: fix: dont throw exception when unknown column type is encountered fix: dont throw exception when unknown column type is encountered Feb 6, 2020
@canvural canvural merged commit 8a992b4 into larastan:master Feb 10, 2020
@canvural canvural deleted the fix-unkown-column-type-error branch February 10, 2020 12:05
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.

Unexpected value in SchemaAggregator
2 participants