Skip to content

About

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

Resources

Stars

1 star

Watchers

0 watching

Forks

 
 

Latest commit

 

History

10 Commits

Folders and files

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

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages