Skip to content

Instantly share code, notes, and snippets.

@lgolubyev
Created Aug 8, 2022
Embed
What would you like to do?
var builder = WebApplication.CreateBuilder(args);
builder.Services.ConfigureRouteHandlerJsonOptions(options =>
{
//Ignore Cycles
options.SerializerOptions.ReferenceHandler = ReferenceHandler.IgnoreCycles;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment