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

Unhandled exception: type 'Null' is not a subtype of type 'String' in type cast #52

Closed
LucaBarden opened this issue Oct 24, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@LucaBarden
Copy link

I've been trying to get the orm to work. I am able to create the initial config files via "flutter pub run orm init" but when I try to use db push with the example models from the Website I get the following Errors.

image

Is this a common Issue or does it have to do with my System?

Im working on an M1 Mac. Just if that's a necessary info.

@LucaBarden
Copy link
Author

This is the Schema File btw
image

@medz
Copy link
Owner

medz commented Oct 26, 2022

I'll fork your schema and create a project that uses sqlite for validation. Please wait.

@medz
Copy link
Owner

medz commented Oct 26, 2022

@LucaBarden Fixed in 2.4.1 version

@medz medz closed this as completed Oct 26, 2022
@medz medz added bug Something isn't working done labels Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants