Skip to content

Commit

Permalink
Merge branch 'main' into refactor/only-cache-distinct-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
katie-gardner authored Jan 16, 2025
2 parents cbc63fd + e66e880 commit f137b4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Dfe.PlanTech.Infrastructure.Redis/JsonSerialiser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ public static class JsonSerialiser
new DefaultJsonTypeInfoResolver().WithAddedModifier(ContentComponentJsonExtensions.AddContentComponentPolymorphicInfo<IContentComponent>)
.WithAddedModifier(ContentComponentJsonExtensions.AddContentComponentPolymorphicInfo<ContentComponent>)
.WithAddedModifier(ContentComponentJsonExtensions.AddContentComponentPolymorphicInfo<ContentBase>),
ReferenceHandler = ReferenceHandler.Preserve
ReferenceHandler = ReferenceHandler.Preserve,
MaxDepth = 256
};

/// <summary>
Expand Down
3 changes: 2 additions & 1 deletion src/Dfe.PlanTech.Web/appsettings.Staging.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"SiteVerificationId": ""
},
"Contentful": {
"UsePreview": true
"UsePreview": true,
"UsePreviewApi": true
}
}

0 comments on commit f137b4a

Please sign in to comment.