Fix resolveNestedRelations disabling during StoryblokClient init #844
Labels
has-workaround
[Issue] Temporary solutions available.
p4-important
[Priority] Violate documented behavior or significantly improve performance (priority)
Expected Behavior
Storyblok client is possible to initialize with
resolveNestedRelations
disabled.Current Behavior
Initializing the Storyblok client with
resolveNestedRelations
flag disabled, does not correctly set the initial valueTemporary workaround
Manually set flag AFTER the storyblok client initialization.
Steps to Reproduce
https://runkit.com/embed/xx23fbgocz7c
Potential defect
When passing
resolveNestedRelations: false,
as part of init object, theresolveNestedRelations
should be set to false, but due tothis.resolveNestedRelations = config.resolveNestedRelations || true
in thestoryblok-js-client/src/index.ts
Line 150 in d04da2e
We might replace
||
with??
The text was updated successfully, but these errors were encountered: