amagaki icon indicating copy to clipboard operation
amagaki copied to clipboard

Only resolveFields when async yaml types are present

Open jeremydw opened this issue 3 years ago • 0 comments

Resolve fields can be slow, so we don't want to do it unnecessarily.

  • When adding new yaml types, check whether a yaml type has an async constructor.
  • If it does, set a flag indicating we need to resolve fields.
  • On projects that don't have async constructors, skip resolving fields.

jeremydw avatar Apr 28 '21 05:04 jeremydw