You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently found myself in need in need of such a feature when defaulting to a value of a function call, e.g. DateTime.now(). toIso8601String().
Currently, there's no other way of doing this other than making the auto-generated method private and wrapping it in another method and supplying the dynamic data within that function's body, just like it's explained here.
The text was updated successfully, but these errors were encountered:
techouse
changed the title
Query should support non-constant defaultValue
Query should add support non-constant defaultValue
Jul 12, 2022
techouse
changed the title
Query should add support non-constant defaultValue
Query should add support for non-constant defaultValue
Jul 12, 2022
I noticed that there was a discussion around this already in #21 and the proposed solution added a
defaultValue
option toQuery
.I recently found myself in need in need of such a feature when defaulting to a value of a function call, e.g.
DateTime.now(). toIso8601String()
.Currently, there's no other way of doing this other than making the auto-generated method private and wrapping it in another method and supplying the dynamic data within that function's body, just like it's explained here.
The text was updated successfully, but these errors were encountered: