Latest #validation Threads Top

andreashasse
Hi all, I’ve been working on PhoenixSpectral, a library that makes Phoenix controller @spec annotations drive both OpenAPI generation an...
New
ryanzidago
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
lud
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
fuelen
Mold parses JSON APIs, webhooks, HTTP params and other external input into clean Elixir terms - coerces types, renames keys, checks struc...
New
andreashasse
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
alexfilatov
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
kip
TLDR; Seeking feedback on what, if any, normalisations and validations should be provided when accepting input that represents a person’s...
New
franzin
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
lud
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
RomainT
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 Top

This Month's Trending Top

This Year's Trending Top

lud
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
libo
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
fuelen
Mold parses JSON APIs, webhooks, HTTP params and other external input into clean Elixir terms - coerces types, renames keys, checks struc...
New
andreashasse
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
kip
TLDR; Seeking feedback on what, if any, normalisations and validations should be provided when accepting input that represents a person’s...
New
lud
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
ryanzidago
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
alexfilatov
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
andreashasse
Hi all, I’ve been working on PhoenixSpectral, a library that makes Phoenix controller @spec annotations drive both OpenAPI generation an...
New

Last Three Year's Trending Top

Qqwy
TypeCheck: Fast and flexible runtime type-checking for your Elixir projects. Core ideas Type- and function specifications are const...
336 14302 100
New
solnic
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
wintermeyer
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
artem
Hi all Context: external system with inconsistent, but feature-full API We use an external SaaS system for hiring people. There are can...
New
dogweather
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
zorn
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
silvadanilo
Hello guys, I often find myself working on projects where I accept commands from external sources (usually via HTTP APIs, but they could...
New
zac
I’m trying to set up a couple of validations – unclear what the best approach is: attribute :allowed_types, {:array, :atom} do ...
New
wintermeyer
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
owenfi
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
smon
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
RomainT
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
franzin
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
JohnJocoo
to_atom_in is a small utility to safely convert string to atom from a set. It is similar to String.to_existing_atom/1, but it also verifi...
New

Trending Over Three Years Top

afulki
Simply, I have a swagger document for a web-service, I want to validate that the response from the service (JSON) matches the format d...
New
acrolink
Here is an example of a custom validation: @our_url "https://our-bucket.s3.amazon.com" def changeset(struct, params \\ %{}) do struct ...
New
ndaljr
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
wmnnd
Hi there, I’m trying to capture constraint exceptions when a user attempts to create a database record with a primary key that already ...
New
Kurisu
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
ajoao
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
martinthenth
Hi fellow Elixirists! :wave: About 8 months ago, I wrote a blog post on validating Phoenix controller parameters using Ecto Changesets i...
New
Muhammad-Mullah
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
CallumVass
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
gorav
I have a registrations model and participants model as follows: schema "registrations" do field :conf_number, :string field :st...
New
dimitarvp
I am trying to make ergonomic test helpers like so: def violated_unique_constraint?( field, {:error, %Changes...
New
coen.bakker
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
mudasobwa
Exvalibur is the generator for blazingly fast validators of maps based on sets of predefined rules. Under the hood, it generates a modul...
New
Christophx
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
mbuhot
Is there a convention/idiom for defining structs that require validation on construction? I notice the standard library types Date and ...
New
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement