Discussion: Should we move generators to blockly-samples
?
#7114
Labels
issue: feature request
Describes a new feature and why it should be added
blockly-samples
?
#7114
While discussing #7084, #7085 and #7086 with @rachel-fenichel, she wondered whether the proposed changes were going to be disruptive enough to warrant taking the same approach we have with procedure blocks and with some fields: publishing the new version as a plugin in blockly-samples and leaving the existing implementation in core untouched for the time being, to allow developers a more protracted period of time to migrate their code before the old version is ultimately removed.
Arguments in favour:
Arguments against:
CodeGenerator
per-block-type generator function dictionary #7084 proposes a breaking change toCodeGenerator
incore/generator.ts
; this file would have to be duplicated inblockly-samples
(and the breaking change made only to that copy); there would then be two incompatible versions of this file / class, possibly causing much confusion.blockly-samples
back toblockly
, so moving generators to samples seems likely to become a wasted effort.The text was updated successfully, but these errors were encountered: