Skip to content

Commit

Permalink
Add sample showcasing no namespace is required for ids
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu committed Dec 21, 2024
1 parent 8b356fc commit d4af158
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/StructId.FunctionalTests/NoNs.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
using StructId.Functional;

// Showcases that types don't need to have a namespace
public partial record struct NoNsId : IStructId;

public record NoNsProduct(NoNsId Id, string Name);

0 comments on commit d4af158

Please sign in to comment.