Skip to content

Commit 7ac526a

Browse files
committed
Made Relay Edge a struct
1 parent b522747 commit 7ac526a

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

RELEASE_NOTES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,4 +242,5 @@
242242

243243
### 4.0.0 - Unreleased
244244

245-
* **Breaking Change** Migrated to .NET 10
245+
* **Breaking Change** Migrated to .NET 10
246+
* **Breaking Change** Made Relay `Edge` a struct

src/FSharp.Data.GraphQL.Server.Relay/Connections.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ open FSharp.Data.GraphQL.Types.Patterns
1111
/// Edges are used to traverse connections in Relay pagination.
1212
/// </summary>
1313
/// <typeparam name="Node">The type of the node at the end of this edge.</typeparam>
14+
[<Struct>]
1415
type Edge<'Node> = {
1516
/// <summary>Opaque cursor string used to identify this node's position in the connection.</summary>
1617
Cursor : string

0 commit comments

Comments
 (0)