Latest #validation Threads 
Hi all,
I’ve been working on PhoenixSpectral, a library that makes Phoenix controller @spec annotations drive both OpenAPI generation an...
New
Hi all,
I’ve released bylaw_ecto_query, a small OSS library for validating prepared Ecto.Query structs before they run.
Why I wrote it
...
New
Hello,
I kinda miss the blog era and seeing all your posts makes me feel like I want to participate too. So there is a fresh blog post a...
New
Mold parses JSON APIs, webhooks, HTTP params and other external input into clean Elixir terms - coerces types, renames keys, checks struc...
New
I’m happy to announce Spectral, a library that lets your Elixir structs and @type specs become the single source of truth for validation,...
New
Hi all!
I’d like to share uk_modulus, a small open-source Elixir library for validating UK bank details.
Overview
uk_modulus implements...
New
TLDR; Seeking feedback on what, if any, normalisations and validations should be provided when accepting input that represents a person’s...
New
Hello everyone! I hope you’re all doing well.
I’m new to the world of Elixir, and recently I decided to create an SDK (I’ll share more d...
New
Hello!
I would like to present to you my work of the last couple weeks, an up-to-date JSON Schema validation library.
TL;DR: Repo link ...
New
Hello,
I want to validates a value among possible values with validate_inclusion but I’m stuck.
My use case is an avatar generation sys...
New
This Week's Trending
This Month's Trending
I’m glad to introduce Estructura, the library that equips structs with Access, Enumerable, and Collectable implementations, as well as pe...
New
This Year's Trending
Hello!
I would like to present to you my work of the last couple weeks, an up-to-date JSON Schema validation library.
TL;DR: Repo link ...
New
Mold parses JSON APIs, webhooks, HTTP params and other external input into clean Elixir terms - coerces types, renames keys, checks struc...
New
I’m happy to announce Spectral, a library that lets your Elixir structs and @type specs become the single source of truth for validation,...
New
TLDR; Seeking feedback on what, if any, normalisations and validations should be provided when accepting input that represents a person’s...
New
Hello,
I kinda miss the blog era and seeing all your posts makes me feel like I want to participate too. So there is a fresh blog post a...
New
Hi all,
I’ve released bylaw_ecto_query, a small OSS library for validating prepared Ecto.Query structs before they run.
Why I wrote it
...
New
Last Three Year's Trending
TypeCheck: Fast and flexible runtime type-checking for your Elixir projects.
Core ideas
Type- and function specifications are const...
New
Hello!
Today I released the first version of Elixir Drops :slight_smile: The announcement can be found on my blog but I’m also just past...
New
Hey,
I have used a bunch of schema libraries in Elixir and didn’t find the one satisfies all my needs. At some point, I kinda miss Pytho...
New
How can I do a custom validation in the following resource to make sure that the attribute use_by_date is today or later but not in the p...
New
Hi all
Context: external system with inconsistent, but feature-full API
We use an external SaaS system for hiring people. There are can...
New
EDIT: Parse, don't validate (2019) | Hacker News
I finished this working code which takes in an HTML page and outputs legal citations it...
New
I’m using a pretty vanilla implementation and seeing:
“length must be greater than or equal to 8”
I’d like that to be 20.
Ideally, I...
New
I’m trying to set up a couple of validations – unclear what the best approach is:
attribute :allowed_types, {:array, :atom} do
...
New
To begin: I’m fairly new at web-frontend and trying to learn by cloning a popular word puzzle game.
I have an input field where a guess ...
New
I am experimenting with live view uploads for the first time, and I was wondering what is the recommended way of doing customized upload ...
New
I have a Product which belongs_to a Category. How can I validate that the field category_id is not nil and how can I validate that there ...
New
Hello,
I want to validates a value among possible values with validate_inclusion but I’m stuck.
My use case is an avatar generation sys...
New
Hello everyone! I hope you’re all doing well.
I’m new to the world of Elixir, and recently I decided to create an SDK (I’ll share more d...
New
Trending Over Three Years
Simply,
I have a swagger document for a web-service, I want to validate that the response from the service (JSON) matches the format def...
New
Here is an example of a custom validation:
@our_url "https://our-bucket.s3.amazon.com"
def changeset(struct, params \\ %{}) do
struct
...
New
I’m still new to phoenix, prolly somewhere around 2 weeks old. I’m trying to build a json api and I’m having difficulty finding the best ...
New
Hi there,
I’m trying to capture constraint exceptions when a user attempts to create a database record with a primary key that already e...
New
I’m using the Decimal package to work with a field in my changeset.
field :amount, :decimal
I can validate it with validate_number so t...
New
I need to validate the criteria in a password: Must contain at least one capital letter, one lowercase and one or more numbers, the size ...
New
Hi fellow Elixirists! :wave:
About 8 months ago, I wrote a blog post on validating Phoenix controller parameters using Ecto Changesets i...
New
am a bit surprised. in my model i have specified fields that are required in the validate_required function. ironically when i try to sub...
New
Hi,
I have a question_type field which determines what part of a struct is required. If it is :text then the :text field is required, if...
New
I have a registrations model and participants model as follows:
schema "registrations" do
field :conf_number, :string
field :sta...
New
I am trying to make ergonomic test helpers like so:
def violated_unique_constraint?(
field,
{:error,
%Changes...
New
I have a table for a collection of tasks. Only one of the fields :expiration_time and :expiration_all_day? may have a value (i.e. not be ...
New
Exvalibur is the generator for blazingly fast validators of maps based on sets of predefined rules.
Under the hood, it generates a modul...
New
How do I validate that at least 2 form fields have been filled? It doesn’t matter which ones, just as long as 2 out of n fields are fille...
New
Is there a convention/idiom for defining structs that require validation on construction?
I notice the standard library types Date and T...
New
- Follow
- Join
- Shape
the conversation
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #blog-post
- #phoenix_html
- #iex
- #graphql
- #genstage
- #ai
- #elixirconf-us
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex









