-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Description
Elixir and Erlang/OTP versions
Elixir 1.18.4
Operating system
Mac OS X
Current behavior
EEx.compile_string is spec'ed to return String.t, but eex engines to not seem to need to adhere to that result. E.g. Phoenix.HTML.Engine returns safe tuples.
Expected behavior
At this point it's probably unavoidable to officially extend the interface here, but I'm wondering it EEx engines would be expected to return just strings or plain any datastructure. I'm looking into builing up something similar like Phoenix.HTML.Engine + the safe protocol.
Metadata
Metadata
Assignees
Labels
No labels