Skip to content

Code-first, declarative, multi-user .NET Core Booking system using Auto CRUD & ServiceStack Studio

Notifications You must be signed in to change notification settings

zelid/BookingsCrud

 
 

Repository files navigation

ServiceStack Stack Overflow on self-referenced models demo

Using self-referenced models in recent ServiceStack versions produces stack-overflow exception on accessing AutoQuery metadata. Looks like the issue is related to a recent changes for AutoCRUD support. Some longer time ago (before AutoCRUD) it used to work.

Steps to reproduce:

  1. Reference this class as a property to Booking DB model:
public class MenuItem
{
    public string Title { get; set; }
    public string Url { get; set; }
    public List<MenuItem> Children { get; set; }
}
  1. Try to open: https://localhost:5001/autoquery/metadata

About

Code-first, declarative, multi-user .NET Core Booking system using Auto CRUD & ServiceStack Studio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 84.2%
  • HTML 15.8%