osury 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/Codegen.res.mjs +2 -0
package/package.json
CHANGED
package/src/Codegen.res.mjs
CHANGED
|
@@ -524,6 +524,7 @@ function generateTypeDefWithSkipSet(namedSchema, _skipSet) {
|
|
|
524
524
|
let variantBody = generateVariantBody(types._0);
|
|
525
525
|
return `@genType
|
|
526
526
|
@tag("_tag")
|
|
527
|
+
@unboxed
|
|
527
528
|
@schema
|
|
528
529
|
type ` + typeName + ` = ` + variantBody;
|
|
529
530
|
}
|
|
@@ -540,6 +541,7 @@ function generateTypeDef(namedSchema) {
|
|
|
540
541
|
let variantBody = generateVariantBody(types._0);
|
|
541
542
|
return `@genType
|
|
542
543
|
@tag("_tag")
|
|
544
|
+
@unboxed
|
|
543
545
|
@schema
|
|
544
546
|
type ` + typeName + ` = ` + variantBody;
|
|
545
547
|
}
|