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
As described in the docs there is already a mapping of field to type.
And the decode/1 function is using a generic struct. As an example of the generated code:
decode/1
struct
@spec decode(binary) :: {:ok, struct} | {:error, any}
Would it be possible to generate a @type t for the structs?
@type t
The text was updated successfully, but these errors were encountered:
Hi 👋 Thank you for your suggestion! It's a very good idea 🤔 I'll try to take a look, but I can't make any promise 😉
Sorry, something went wrong.
No branches or pull requests
As described in the docs there is already a mapping of field to type.
And the
decode/1
function is using a genericstruct
.As an example of the generated code:
Would it be possible to generate a
@type t
for the structs?The text was updated successfully, but these errors were encountered: