-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
I created WebApi project using DNSManagement. I have the following API method:
public ResourceRecord[] GetZoneRecords(string name)
{
var zone = Server.GetZones().FirstOrDefault(x => x.Name == name);
return zone != null ? zone.GetRecords() : null;
}
But i get the following error:
An unhandled exception of type 'System.StackOverflowException' occurred in System.Management.dll
in the following line:
ResourceRecord.cs Line 258
return Convert.ToString(m_mo["TextRepresentation"]);
I can watch zone.GetRecords() but i get error when i use it in return clause of API method.
Metadata
Metadata
Assignees
Labels
No labels