Handling file uploads in AshGraphql and AshJsonApi
What's the current/planned support for handling of the
:binary
type in AshGraphql and AshJsonApi? I've been dealing with binary uploads using a more OOB approach, but would be curious to evaluate other options.3 Replies
Honestly, I haven't had to do it yet, so I haven't laid down any patterns for it. There is a
:binary
type supported in ash core, but you'll pretty much need to roll your own.
I'd love to have either an extension or a type for file uploads that can help in some way with uploads in every format (like phoenix liveview, graphql, liveview)Certainly could imagine an extension that would support some of the common cloud providers.
Oh man that’d be fun to write.