code_builder icon indicating copy to clipboard operation
code_builder copied to clipboard

Does code_builder support a notion of target language version?

Open yanok opened this issue 3 years ago • 0 comments

Or is it completely up to the user to make sure to only use the supported constructs?

Sometimes (the particular case I'm having at hand is required named arguments) it's possible to handle unsupported constructs gracefully, so for example if a required named argument were requested via builder, the library can generate an actual required arg if version >=2.12 is requested, and just drop the required otherwise.

yanok avatar Sep 30 '22 09:09 yanok