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

[WIP] Introduce mutate_endpoint/3 macro to ease building changes that match on endpoint #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AndrewDryga
Copy link
Member

No description provided.


@doc false
def compile(env, mutations, change_opts) do
IO.inspect {env, mutations, change_opts}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be no calls to IO.inspect/1.

mutations = Module.get_attribute(env.module, :mutations)
change_opts = Module.get_attribute(env.module, :multiverse_change_opts)

{conn, request_mutations_body, response_mutations_body} = Multiverse.Change.compile(env, mutations, change_opts)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nested modules could be aliased at the top of the invoking module.

@AndrewDryga
Copy link
Member Author

Ebert has finished reviewing this Pull Request and has found:

  • 2 possible new issues (including those that may have been commented here).

You can see more details about this review at https://ebertapp.io/github/Nebo15/multiverse/pulls/12.

@coveralls
Copy link

Coverage Status

Coverage decreased (-13.8%) to 86.17% when pulling bbd3bb5 on features/changes-macros into 4ac4f7a on master.

@AndrewDryga AndrewDryga changed the title Introduce mutate_endpoint/3 macro to ease building changes that match on endpoint [WIP} Introduce mutate_endpoint/3 macro to ease building changes that match on endpoint Feb 21, 2018
@AndrewDryga AndrewDryga changed the title [WIP} Introduce mutate_endpoint/3 macro to ease building changes that match on endpoint [WIP] Introduce mutate_endpoint/3 macro to ease building changes that match on endpoint Feb 21, 2018
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