belsetbelset.hashnode.dev·Mar 15, 2024Validation of input data in Minimal API filters .NET, sensible and without fussI believe anyone would like to study new technologies “on the fly”. Any extra-efforts which may arise in comprehending some difficult subject may disgust that person and cause him or her to stop doing it. To me, it would seem kind of obvious why this...Discussflatvalidator
Susomejiasblog.susomejias.dev·Feb 28, 2024Harness the power of TypeScript + Zod to manage your environment variablesBefore starting In this guide I will assume that we already have our project with TS and Zod configured correctly. Defining the variables inside .env file VITE_ENVIRONMENT=offline VITE_API_BASE_URL=http://localhost:7000 VITE_JWT_DEV_TOKEN=example_tok...Discuss·50 readsEnvironment variables
Matteo CollinaforPlatformatic Blogblog.platformatic.dev·Feb 23, 2024Fastify Fundamentals: How to Validate API ResponsesValidation is an important aspect of API development as it helps you check whether an API is working as expected, whether it returns the right data quickly, and if it meets security requirements. Developers who use Fastify need to remain aware of how...Discuss·572 readsplatformatic
Vishv Salvivishvsalvi.hashnode.dev·Feb 21, 2024Data Validation Using ZodIntroduction Tired of writing your own complex and long data validation code? We've all been there. Writing you own data validation code can be tedious and difficult to maintain. Thankfully, there is a library out there called Zod which makes this pr...Discuss·28 readsNode.js
Ervin Boy Jati Asmaraasmaraervin.hashnode.dev·Feb 19, 2024Clean Architecture in ASP.NET 8 Core Web API — CQRS — Mediator | Visual StudioPertama bukalah Visual Studio kemudian pilihlah “Create a new project” Pilih Create a new project Memilih template ASP .NET Core Web API Memberi nama dari template ini yaitu “CleanArchWithCQRSandMediator.API” Memilih versi dari .NET, s...Discussdotnet
Algonotionalgonotion.com·Feb 14, 2024Sanitizing and Validating data in Node.JS Express AppWhen you have an app that accept input from the outside, you can't always trust the input. There maybe typos, mix-up with the fields or some users may even try to inject malicious code into the input. That is why it's important to sanitize and valida...Discuss·45 readsSecurity
Nicole Listerfeltlisterfelt.hashnode.dev·Feb 5, 2024Formik and YupWhen you use a form, it might have validations to see whether the input will be valid. There also might be error messages explaining what is wrong. We will look at formik and yup to help us achieve this. Signup Form Let's start by looking at a signup...Discussformik
Yaroslav Prozorovbyka.hashnode.dev·Feb 3, 2024Adding Validation Logic to Spring Context: A Step-by-Step GuideIn the Spring framework, adding validation logic to your application can ensure data integrity and reliability. In this guide, we'll walk through the process of integrating validation logic for a Person class into the Spring context using the provide...Discuss·1 likeSpringboot
Peter SolnicaProsolnic.dev·Feb 1, 2024Elixir Drops 0.2.0 with support for custom types was released!Since the previous release in October, my intermittent efforts have been dedicated to developing version 0.2.0 of Elixir Drops, concentrating primarily on enhancing its type system. The main objective has been to introduce the functionality for users...Discuss·1.1K readsElixir
Abiola Fasanyaharbiola.hashnode.dev·Jan 29, 2024Zod's Validation: Unleashing Precision in Data HandlingWhat is Zod? Zod is a TypeScript go-to for declaring and validating schemas! Think of Zod as your helpful sidekick, navigating you through different data types, from plain strings to intricate nested objects. Advantages of using Zod Zod stands out a...Discuss·1 like·44 readszod