You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In SimpleIdServer.Scim.Swashbuckle\SCIMSchemaGenerator.cs, GenerateReferencedSchema() method, row 176
schema.Properties.Remove(schema.Properties.First(_ => .Key == "Attributes"));
I got exception: System.InvalidOperationException: 'Sequence contains no matching element'
for schema.Properties.First( => _.Key == "Attributes") row.
Any of my schemas contain Attributes in Properties.
In SimpleIdServer.Scim.Swashbuckle\SCIMSchemaGenerator.cs, GenerateReferencedSchema() method, row 176
schema.Properties.Remove(schema.Properties.First(_ => .Key == "Attributes"));
I got exception: System.InvalidOperationException: 'Sequence contains no matching element'
for schema.Properties.First( => _.Key == "Attributes") row.
Any of my schemas contain Attributes in Properties.
I mentioned it already in #53 (comment)
Occurring in version 1.1.8
My solution is to call FirstOrDefault instead of First.
The text was updated successfully, but these errors were encountered: