Skip to content

zelid/BookingsCrud

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

 
 
 

Contributors

Languages

  • C# 84.2%
  • HTML 15.8%