dwyl / dwyl/alog

Creating users with duplicate email is not erroring

Open
#57 2 comments 0 reactions 1 assignee Claimed by @RobStallion View on GitHub
bug
Dominant language
Elixir
Stars
15
Forks
2
PR merge metrics
No merged PRs in 30d

Description

I am currently using alog in another project where two tables are being updated at the same time.

The `venue` table has a `many to many` association with the `users` table. When a user of the site creates a new `venue` they can also create a new `user` at the same time.

However, for some reason the user changeset function is not working as expected here. It is allowing multiple users with the same email address to be created.

This does not happen when you try to create a user on their own (e.g. Call the `User.insert` function directly with a `user changeset`)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.