CrabNebulaforCrabNebulacrabnebula.hashnode.dev·Nov 6, 2023Introduction to Code Generation in RustThis article is about generating Rust code from other Rust code, not for the code generation step of the rustc compiler. Another term for source code generation is metaprogramming, but it will be referred to as code generation here. The reader is exp...Discuss·6 likesRust
Diego Ponce de Leónxleon.net·Oct 30, 2023Dart code generation files in git. Yes or no?I started writing Flutter and Dart code a few weeks ago for a real production project that we are migrating from another tech stack (Xamarin). Soon I started using the power of code generation libraries like freezed, json_serializable, slang_build_ru...Discuss·52 readsDart
Pranav Masekarsungod.hashnode.dev·Aug 20, 2023Elevating Flutter Development: The Magic of Code GenerationIntroduction : Welcome back to my blog! In today's post, I want to share an exciting new tool that has elevated my Flutter development workflow - flutter_gen. As a Flutter developer, I'm always looking for ways to enhance code quality, accelerate dev...Discuss·1 like·148 readsFlutterFlutter
Stephen Collinssteve555.hashnode.dev·Aug 4, 2023Crafting Prompt Templates for Code GenerationPrompt templates are tools to offer an LLM (large language model) a structured input. This is especially useful for asking an LLM to create functions that match a specific signature (a function's name, input types and output types). Example of a Gene...Discuss#PromptEngineering
Ankur Rathisimplifyfrontend.hashnode.dev·Aug 10, 2023CodeGen: How it simplify your lifeImagine yourself as a chef with a collection of famous dishes. Everyone is asking for the recipes, requiring you to specify the ingredients, quantities, cooking time, preparation time, and much more. Are you gonna tell everyone from scratch? Hmm.. de...Discuss·27 readscodegeneration
Pranav Masekarsungod.hashnode.dev·Jul 23, 2023Boost Your Flutter Development with FreezedIntroduction : As our Flutter applications grow in complexity, it becomes tedious to manually define immutable model classes. We have to explicitly mark fields as final, implement copyWith methods, override == and hashCode, and more. This repetitive ...Discuss·6 likes·257 readsFlutterWeMakeDevs
Casper Weiss Bangblog.cwb.dk·Jun 26, 2023API First? No, thank you! Schema-first, please!I've developed a lot of APIs, and have been working API-first, with rough steps like the following: Write a very rough API in whatever framework, returning sample responses Generating a schema from the API, i.e. with Swashbuckle Sharing the schema...Discuss·34 readsOpenApi
La Rebelion Labsrebelion.la·Jun 25, 2023Unleashing the Swagger Magic: Conquer APIs With No Code!Hey there, fellow tech enthusiasts! Buckle up because we're about to embark on an electrifying journey into the world of API development. In this blog post, I am thrilled to share my latest mind-blowing achievement (early access) and challenge you to...DiscussOpenApi
Stefan BirdProscbird.hashnode.dev·May 23, 2023FeaturedRemoving Nullables: A Journey to a Cleaner GraphQL SchemaSince I joined at PERSUIT in 2022, we’ve embarked on many projects to modernise our codebase. One of our big ones is increasing our adoption of TypeScript. We wanted to generate TypeScript types for our GraphQL schema using graphql-codegen, but we ha...Discuss·38 likes·253 readsSafely removing nullables from a GraphQL schemaGraphQL
Unimke Adiechibidev.hashnode.dev·May 17, 2023App-wide Theming with Riverpod Generator.This article assumes you are familiar with Riverpod 2.0 and code generation (like Freezed) and want to use them in your app. For an in-depth explanation of Riverpod generators and the new Riverpod syntax, check out this and this by Andrea. What we'll...Discuss·11 likes·196 readsFlutter for MobileFlutter