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
the underlying source of truth, a btreemap of fields or whatever
some way to iterate/fold the btreemap, ideally in a typesafe manner
from this, we would do one of two things:
either generate a string using a nice API, e.g. enter_object("field_name"), write_field("__typename", "ConcreteNameOfType"), etc), or
(probably better) generate a TSObject type and do stuff like .enter_object("field_name") etc, and then have that TSObject know how to stringify itself in a way that works for all of our generated files
I guess ideally, the TSObject is the entire pre-stringified artifact
Initial thoughts... I would imagine we have:
from this, we would do one of two things:
I guess ideally, the TSObject is the entire pre-stringified artifact
Maybe one of these will work for us
The text was updated successfully, but these errors were encountered: