Skip to content

Add behaviour to __using__ macro#21

Open
nikitalocalhost wants to merge 1 commit intosubvisual:masterfrom
nikitalocalhost:add-behaviour-to-use-macro
Open

Add behaviour to __using__ macro#21
nikitalocalhost wants to merge 1 commit intosubvisual:masterfrom
nikitalocalhost:add-behaviour-to-use-macro

Conversation

@nikitalocalhost
Copy link

This merge request adds:

  • Conditional @behaviour set in __using__ macro if it was called first time
  • Additional callback transition_changeset/4 because it's used inside __before_compile__/1
  • @impl for all defined functions inside __before_compile__/1

Signed-off-by: Nikita Localhost <nikita.localhost@gmail.com>
@nikitalocalhost
Copy link
Author

Fixes #12

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.

1 participant