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

Binding properties are not generated properly in Graphaello.swift

gevorgyanvahagn opened this issue · comments

@Binding var someBool: Bool is generated as someBool: Bool instead of someBool: Binding<Bool>>

Thanks for the bug report! You're on fire!
That's really strange.

For documentation purposes:
This should be handled already in the BasicPropertyExtractor

Screen Shot 2021-02-26 at 12 10 50 PM

Sorry, didn't get you, you mean it is already fixed in Graphaello.swift?

I mean that I thought this case was already dealt with. And pasted the code that was responsible for dealing with bindings...
I still want to take a look at it ;)

@nerdsupremacist will provide a demo code