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

V2.0 #31

Merged
merged 38 commits into from
Jul 31, 2019
Merged

V2.0 #31

merged 38 commits into from
Jul 31, 2019

Conversation

gabrielpra1
Copy link
Member

@gabrielpra1 gabrielpra1 commented Jul 13, 2019

To do:

  • Migrate all projects for validation
  • Add changelog here
  • See errors messages customisation
  • Consider global configuration

Changelog:

  • Add CI
  • [Breaking Change] Change pluralization: Use schema source table instead of Inflex
  • Add get_by
  • Add list_with_assocs
  • Add ! functions
  • [Breaking Change] Remove update and delete by ID in context
  • [Breaking Change] Add Internationalization to changeset errors translator: rename to Crudry.Middlewares.TranslateErrors and now handles all errors, not only changesets
  • [Breaking Change] Change nil_to_error to return a map instead of string to make it easier to internationalize
  • Add custom configuration to nil_to_error message

gabrielpra1 and others added 30 commits July 10, 2019 15:03
Add travis with coveralls and missing tests
[v2] Add support for internationalization with TranslateErrors middleware
lib/crudry_resolver.ex Outdated Show resolved Hide resolved
lib/crudry_resolver.ex Outdated Show resolved Hide resolved
lib/crudry_resolver.ex Show resolved Hide resolved
@gabrielpra1 gabrielpra1 merged commit 8a5ddf1 into master Jul 31, 2019
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.

None yet

2 participants