Skip to content

Commit

Permalink
fix default values fixed size for jsonb fields
Browse files Browse the repository at this point in the history
  • Loading branch information
kMutagene committed Jun 25, 2024
1 parent 2392649 commit cb2f991
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PackageRegistryService/Models/ValidationPackage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public class ValidationPackage
/// <summary>
///
/// </summary>
public ICollection<AVPRIndex.Domain.OntologyAnnotation> Tags { get; set; } = Array.Empty<AVPRIndex.Domain.OntologyAnnotation>();
public ICollection<AVPRIndex.Domain.OntologyAnnotation> Tags { get; set; } = Array.Empty<AVPRIndex.Domain.OntologyAnnotation>().ToList();

/// <summary>
///
Expand All @@ -96,7 +96,7 @@ public class ValidationPackage
/// <summary>
///
/// </summary>
public ICollection<AVPRIndex.Domain.Author> Authors { get; set; } = Array.Empty<AVPRIndex.Domain.Author>();// https://www.learnentityframeworkcore.com/relationships#navigation-properties
public ICollection<AVPRIndex.Domain.Author> Authors { get; set; } = Array.Empty<AVPRIndex.Domain.Author>().ToList();// https://www.learnentityframeworkcore.com/relationships#navigation-properties

/// <summary>
///
Expand Down

0 comments on commit cb2f991

Please sign in to comment.