Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Building of Manage SDK (workaround) #356

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

tomasz-blasz
Copy link

This is supposed to be a temporary fix until macrofier code investigated and is found why polymorphic functions are not generated.

Issue caused by:

diff --git a/src/openrpc/localization.json b/src/openrpc/localization.json
index db92eeb..cc2a803 100644
--- a/src/openrpc/localization.json
+++ b/src/openrpc/localization.json
@@ -298,7 +298,7 @@
           ]
         }
       ],
-      "summary": "Get any platform-specific localization information, in an Map<string, string>",
+      "summary": "Get any platform-specific localization information",
       "params": [],
       "result": {
         "name": "info",
@@ -306,7 +306,7 @@
         "schema": {
           "type": "object",
           "additionalProperties": {
-            "type": "string",
+            "type": ["number", "string", "boolean"],
             "maxLength": 1024
           },
           "maxProperties": 32
@@ -346,9 +346,9 @@
         },
         {
           "name": "value",
-          "summary": "Value to be set for additionalInfo",
+          "summary": "Value to be set for additionalInfo. Value can be a number, string or boolean",
           "schema": {
-            "type": "string"
+            "type": ["number", "string", "boolean"]
           },
           "required": true
         }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants