From 2420580b034788cbfa157f6f4e1e0c5b3f3b70c4 Mon Sep 17 00:00:00 2001 From: Norbert Hartl Date: Fri, 31 Jul 2026 09:14:23 +0200 Subject: [PATCH] Restore JSONPrimitiveSchema>>nullable: lost in the Filetree->Tonel migration The setter existed alongside the getter/ivar in the old Filetree-format history (commit 1d2fd5a) but was dropped when the package was converted to Tonel format. JSONSchemaString/Integer/Number/Boolean callers that set nullable: (as JSONSchemaObject/AnyObject already do via apptive-base extensions) hit a doesNotUnderstand as a result. --- source/JSONSchema-Core/JSONPrimitiveSchema.class.st | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/JSONSchema-Core/JSONPrimitiveSchema.class.st b/source/JSONSchema-Core/JSONPrimitiveSchema.class.st index e09b8c0..e77914c 100644 --- a/source/JSONSchema-Core/JSONPrimitiveSchema.class.st +++ b/source/JSONSchema-Core/JSONPrimitiveSchema.class.st @@ -84,6 +84,11 @@ JSONPrimitiveSchema >> nullable [ ^ nullable ~~ false ] +{ #category : 'accessing' } +JSONPrimitiveSchema >> nullable: aBoolean [ + nullable := aBoolean +] + { #category : 'reading' } JSONPrimitiveSchema >> read: anObject [ | value |