Domitnator / kentico-kontent-nuxt-module

Add kentico kontent super power to your nuxt app
13 stars 5 forks source link

Update to match the Kentico Kontent configuration and allow for preview mode #37

Closed cdt105 closed 3 years ago

cdt105 commented 3 years ago

HI! This PR is to modify the options structure passed into the Kentico DeliveryClient. The current one doesn't allow us to use preview mode as you couldn't write to globalQueryConfig.usePreviewMode as it was being overridden by the custom header.

This code fixes that and also removes the old enablePreviewMode flag which is not used by the SDK anymore. See https://docs.kontent.ai/tutorials/develop-apps/build-strong-foundation/set-up-preview. Thanks!

Domitnator commented 3 years ago

Hi @cdt105 ,

Thanks for your pull request! Just reviewed the commits and all looks fine!

As this repo used semantic versioning and the name of your commits does not match the semantic versioning commit message format (https://github.com/semantic-release/semantic-release#commit-message-format) I have to figure out how I can merge this pull request properly. For some reason the circle-ci check is not kicking in.

I have good hope that i can fix this tommorow!

Domitnator commented 3 years ago

:tada: This PR is included in version 6.4.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: