Adds Presentation Api layer integration tests for file system browser dialog

This commit is contained in:
BinaryAlley committed 2024-10-11 21:03:21 +03:00
1 parent 2550bf8a3f
commit b94c299180
20 files changed
+2414 -24

No files matched your search

@@ -37,6 +37,8 @@ public static class PresentationApiLayerServices
// add services to the container
services.AddControllers().AddJsonOptions(options =>
{
options.JsonSerializerOptions.MaxDepth = 256;
options.JsonSerializerOptions.ReferenceHandler = ReferenceHandler.IgnoreCycles; // needed because file system API responses can have very nested structures
options.JsonSerializerOptions.Converters.Add(new JsonStringEnumConverter());
options.JsonSerializerOptions.Converters.Add(new OptionalJsonConverterFactory());
});