How to use function in argument of 'operation' macro #430
Unanswered
AndriiKlymchuk
asked this question in
Q&A
Replies: 1 comment
-
I think it will work if you move the The arguments to the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. In order to decrease duplication I want to hide some common part of schema behind function call like that:
But I get
undefined function scrivener_page_schema/1
error during compilation.How can I fix my code, or is there any recommended approach how to reduce code duplication in such cases?
Beta Was this translation helpful? Give feedback.
All reactions