#hypothetical question 1

1 messages · Page 1 of 1 (latest)

glacial parrot
#

.

#

If we shipped a version of cloak that literally didn't have the extensions feature, would that version of cloak still need to load a cloak.yaml file?

wispy canopy
#

Not that I can think of, no

glacial parrot
#

what about the SDK config you mentioned: is that how we'll hook up eg. the new client-side codegen stuff @dusky bronze is working on?

wispy canopy
dusky bronze
# glacial parrot what about the SDK config you mentioned: is that how we'll hook up eg. the new c...

Not required.

Code generation needs some information. Can be passed to the generate command instead (what the codegen POC is doing).

Putting that in the manifest is syntactic sugar so all options are consolidated into a single place rather than scattered around

e.g.

  • for extensions, we need to know the language (to compile the extension)
  • for codegen, we need to know the language (to generate stubs in the right language)

and so they both share the same information from cloak.yaml to avoid repetition. But not required.

Unless I'm forgetting something

#

But for instance in this morning's demo I had an empty cloak.yaml (not an extension and didn't need to import extensions)