Skip to content

Add @on_writable_violation schema attribute to default :on_writable_violation for all schema fields#4737

Open
green-david wants to merge 1 commit into
elixir-ecto:masterfrom
green-david:dg-add-on-writable-violation-schema-attribute
Open

Add @on_writable_violation schema attribute to default :on_writable_violation for all schema fields#4737
green-david wants to merge 1 commit into
elixir-ecto:masterfrom
green-david:dg-add-on-writable-violation-schema-attribute

Conversation

@green-david

Copy link
Copy Markdown
Contributor

This is a follow up to #4734 which adds a new @on_writable_violation schema attribute to allow for opting-in to a default at the schema level to make it easier to configure :warn or :raise across your codebase.

@green-david

Copy link
Copy Markdown
Contributor Author

@greg-rychlewski as discussed 👍

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.

2 participants