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

Temporarily remove compilation check for Absinthe #24

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

Conversation

timgremore
Copy link

@timgremore timgremore commented Apr 27, 2021

Assertions conditionally adds helpers for use with Absinthe.
Assertions.Absinthe utilizes Code.ensure_compiled/1 to manage this
condition. However, undefined function assert_response_equals/4 is raised
when compiling all dependencies. Recompiling assertions after compiling all
dependencies satisfies the call to Code.ensure_compiled/1 and the exception
is avoided. This removes the conditional check until a proper solution can be
found and since we are using Absinthe.

Issue is also described #22

Assertions conditionally adds helpers for use with Absinthe.
`Assertions.Absinthe` utilizes `Code.ensure_compiled/1` to manage this
condition. However, `undefined function assert_response_equals/4` is raised
when compiling the all dependencies. Recompiling assertions after compiling all
dependencies satisfies the call to `Code.ensure_compiled/1` and the exception
is avoided. This removes the conditional check until a proper solution can be
found and since we are using Absinthe.
@thelastinuit
Copy link

@timgremore you saved me from hell... I've been drying myself nuts around this issue until I came up with your comments.
I know this is for issues only but I wanted it to thank you.

@allenwyma
Copy link

hi @devonestes can we get this merged in soon? Did you need some help with that?

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.

3 participants