-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Something like this is possible:
Solicit.Repsponse.ok(conn, struct, [:one, :another, something: Module.function/1])
But it's weird that the full struct is passed in to that function:
Lines 542 to 543 in fdbaeeb
| {field, generate} when is_function(generate, 1) -> | |
| {field, generate.(struct)} |
Should we instead be passing Map.get(struct, field)? Seems more appropriate.
Metadata
Metadata
Assignees
Labels
No labels