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

Only warn when using Ecto primitives #541

Merged
merged 1 commit into from
Jul 6, 2020
Merged

Conversation

danschultzer
Copy link
Collaborator

Resolves #533

There is no need to verify that the right type is used for custom Ecto types as they may very well be able to handle cast and load of the type. This PR will only emit a warning if there's a type mismatch using primitive Ecto types.

@danschultzer danschultzer merged commit 18954e6 into master Jul 6, 2020
@danschultzer danschultzer deleted the only-warn-primitives branch July 6, 2020 03:40
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.

Pow emits redundant warnings for custom typed User schema fields
1 participant