We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Exposing a list of atoms as in https://github.com/elixir-maru/maru_entity#example does not work.
For example,
defmodule PostEntity do use Maru.Entity expose [:id, :title] expose :comments, using: List[CommentEntity], batch: PostCommentBatchHelper end
will cause compilation error like:
== Compilation error in file lib/entity/serializers.ex == ** (FunctionClauseError) no function clause matching in Maru.Entity.expose/1 expanding macro: Maru.Entity.expose/1 lib/entity/serializers.ex:19: PostEntity (module) (elixir) lib/kernel/parallel_compiler.ex:198: anonymous fn/4 in Kernel.ParallelCompiler.spawn_workers/6
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Exposing a list of atoms as in https://github.com/elixir-maru/maru_entity#example does not work.
For example,
will cause compilation error like:
The text was updated successfully, but these errors were encountered: