fixed objectDetails for nodejs default to no be go map

Signed-off-by: bbland1 <104288486+bbland1@users.noreply.github.com>
This commit is contained in:
bbland1 2025-06-16 22:17:12 -04:00
parent 196ca19ad8
commit a9b2efe61a
2 changed files with 2 additions and 2 deletions

View File

@ -121,7 +121,7 @@ export interface GeneratedClient {
*
* **Details:**
* - flag key: `themeCustomization`
* - default value: `map[primaryColor:#007bff secondaryColor:#6c757d]`
* - default value: `{"primaryColor":"#007bff","secondaryColor":"#6c757d"}`
* - type: `object`
*
* Performs a flag evaluation that a returns an evaluation details object.

View File

@ -32,7 +32,7 @@ export interface GeneratedClient {
*
* **Details:**
* - flag key: `{{ .Key }}`
* - default value: `{{ .DefaultValue }}`
* - default value: `{{ if eq (.Type | OpenFeatureType) "object"}}{{ .DefaultValue | ToJSONString }}{{ else }}{{ .DefaultValue }}{{ end }}`
* - type: `{{ .Type | OpenFeatureType }}`
*
* Performs a flag evaluation that a returns an evaluation details object.