nerdsupremacist / Graphaello

A Tool for Writing Declarative, Type-Safe and Data-Driven Applications in SwiftUI using GraphQL

Home Page:https://graphaello.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Caching

nerdsupremacist opened this issue · comments

On larger projects, Code Generation takes a very long time.

Evaluate caching:

  • Fragments and Queries for structs
  • Code generated for each struct

Implemented a basic version of this.

A basic test showed, that we went for 4.8s on a clean build to 0.6s on a cached build 🎉