3min chapter

Elixir Mix cover image

Building APIs - EMX 181

Elixir Mix

CHAPTER

Is GraphQL the Worst Idea?

Don't trust user input, that's also a big thing and not to look so specific, but assume that users are going to send you garbage. And then again, that is where GraphQL is quite nice because you can at least impose some structures. We have like a form pattern, all the forms in the front end,. the Phoenix front end that are submitted have their own ecto schemas that don't have table. You know, just using it as a validation source of our validation library. That's a great bit of deal with like user inputs and stuff - keeping your front end really separate from the back. Like to me, it's just weird that your pattern is that you

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode