Skip to content

Adding Constraints to Ecto's Changeset #2

@Darkhood148

Description

@Darkhood148

Currently we only add constraints to Ecto migrations, which raise error at the database level. This works, but it would be better to have error messages at application level. To do this we must also add constraints in corresponding Changesets for all constraints in schemas. You can work on it by looking at the migrations in priv/repo/migrations and look at the different types of constraints and add them in changesets accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions