这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@rzane
Copy link
Contributor

@rzane rzane commented May 11, 2018

By providing Authority.Ecto.Enum, things get a bit simpler.

Now, we no longer need exnumerator for tests.

More importantly, people won't have to have that boilerplate in their codebase. We don't need to generate tests for the Lock.Reason or Token.Purpose (because you'd be testing the library).

And now, because the submodules get so simple, we can just inline them in the parent module, which means the generator doesn't have to resolve paths for submodules. Overall, I think this change reduces complexity for both maintainers and end-users.

This still needs docs, though.

@danielberkompas
Copy link
Contributor

Looks good to me. We can add docs before the next release.

@danielberkompas danielberkompas merged commit ea93cc5 into infinitered:master May 16, 2018
@rzane rzane deleted the enums branch May 17, 2018 00:40
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