Aaron Jevil Nazarethaarons-space.hashnode.dev·Mar 4, 2024Delta Lake(.Parquet) vs JSON Formats for storageIntroduction Fast storage and retrieval of data are vital for maintaining a competitive edge, enhancing user experience, and facilitating efficient decision-making, especially in a fast-paced digital environment where responsiveness and scalability a...Discuss·11 likes·49 readsJavaScript
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·691 readsplatformatic
Henry Andrewsmodern-json-schema.com·Feb 20, 2024Future-proofing your path from OpenAPI 3.0 to 3.1 and beyond!The most popular version of the OpenAPI Specification (OAS) as of early 2024 is OAS 3.0. While adoption of OAS 3.1 is gaining steam, users whose needs are met by 3.0 or who want to wait for 3.1 support to mature are in no hurry to update. But softwar...Discuss·11 likes·555 readsOpenApi
Henry Andrewsmodern-json-schema.com·Feb 4, 2024Coming out of hibernation...Sometimes you start a blog and right as you're getting going, life gets complicated. 2023 involved a lot of changes for me, including a shift in focus from the JSON Schema specification to the OpenAPI Initiative (not to be confused with OpenAI!). It'...Discuss·107 readshttp api
Vitali Haradkouvitalicset.hashnode.dev·Jan 16, 2024Library update: ajv-ts 0.5Installation/Update npm i ajv-ts@latest # npm yarn add ajv-ts@latest # yarn pnpm add ajv-ts@latest # pnpm bun add ajv-ts@latest # bun New Features not, exclude Now you can mark your schema with not keyword! Here is a 2 differences between not and ex...DiscussAjv-ts library updatesNode.js
Vitali Haradkouvitalicset.hashnode.dev·Jan 15, 2024Library update: ajv-ts 0.4New Features Now schema builder supports custom error messages. import s from 'ajv-ts' const num = s.number().error('cannot be not a number') const res1 = num.safeParse("some random string") const res2 = num.safeParse("1.2") console.error(res1.erro...DiscussAjv-ts library updatesajv
Melvinmelvinkoh.me·Jan 8, 2024Parsing Terraform for FormsIntroduction Several months ago, I embarked on a journey to accomplish a captivating project: investigating how Terraform templates can be parsed, and specifically focusing on parsing Terraform variable types. My goal was to build a solution that cou...Discuss·833 readsTerraform
Daniel Taylordgt.hashnode.dev·Dec 6, 2023APIs in Go with Huma 2.0History Back in 2016 I was working for a small-ish company doing live video streaming services which would eventually become part of Warner Bros Discovery through a complex chain of acquisitions and a "spin-merge." We were working on pulling apart a ...Discuss·729 readsGo Language
Andreas Söderlundblog.encodeart.dev·Dec 1, 2023Superforms v2: Supporting all validation librariesSuperforms is a popular SvelteKit library that simplifies numerous aspects of form handling: Validation, error handling, nested data, loading spinners, browser constraints, and much more. About a month after the announcement that Superforms won Svelt...Discuss·21 likes·3.3K readsforms
Vitali Haradkouvitalicset.hashnode.dev·Sep 29, 2023Zod is dead. Long live ajv-ts!What is Zod Zod is a schema-level validation library with first-class Typescript types support. I want examples! Okay, here you are. Let's imagine that we want to create an object `User` with email and password fields. Both are them - required. // ex...DiscussAjv-ts library updateszod