Closed woylie closed 7 months ago
Please merge #71 first.
@mathieuprog This is ready for review. I split the workflow to run the tests in the matrix, but the remaining steps only with the latest Elixir version. The CI job from the last PR failed because the formatter did different things in different versions.
I'll review this as soon as I have some alone-time!
This also fixes an issue I'm seeing where get_polymorphic_type
returns nil when a map is passed (happens in a nested form).
@mathieuprog I don't want to rush you, but is there a chance to get this merged soon?
Sorry I'll get to it in coming days
Just wanted to give this a little bump. I'm currently affected by this bug. Please let me know if there's anything I can do to help this PR along.
Also here to bump.
resolves #63
To cover all cases, I had to add
channel2
andchannel3
fields to the reminder schema.channel
:identity_by_fields
andtype_field
channel2
: none of these optionschannel3
: onlytype_field
If the field passed to the function is an array field, the function will return
nil
, since the type can only be determined by looking at a single item.I found another related issue while looking into this, I'll open another PR for that.
I added dialyzer and excoveralls to the project, I hope you don't mind.