Fix handling of custom field types

This commit is contained in:
Erik Mejer Hansen 2019-11-13 14:58:44 +01:00
parent 0a5673d5d3
commit 700e163abe

View file

@ -981,8 +981,10 @@ class Runtime extends EventEmitter {
fieldName: fieldName, fieldName: fieldName,
extendedName: extendedName, extendedName: extendedName,
argumentTypeInfo: { argumentTypeInfo: {
shadowType: extendedName, shadow: {
fieldType: `field_${extendedName}` type: extendedName,
fieldName: `field_${extendedName}`
}
}, },
scratchBlocksDefinition: this._buildCustomFieldTypeForScratchBlocks( scratchBlocksDefinition: this._buildCustomFieldTypeForScratchBlocks(
extendedName, extendedName,