We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Just curious what this import does?
extreme_system_example/apps/users/lib/example/aggregates/user_impl.ex
Line 3 in 06b1b1c
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
How? Sorry I know nothing about ecto changesets. I thought they were only for database models in ORM
Ecto doesn't have to be used as ORM only. In fact, 3.0 or 3.1 will split query from changeset features in different libraries. https://github.com/exponentially/extreme_system_example/blob/master/apps/users/lib/example/aggregates/user_impl.ex#L24 is place where we are validating update_profile command that name is present and it has at least 6 characters. If validation fails, API will respond with 422 and errors in body
update_profile
No branches or pull requests
Just curious what this import does?
extreme_system_example/apps/users/lib/example/aggregates/user_impl.ex
Line 3 in 06b1b1c
The text was updated successfully, but these errors were encountered: