Skip to content

Commit 7291234

Browse files
Copilotxperiandri
andauthored
Clarify SchemaId GetHashCode scope in XML docs
Agent-Logs-Url: https://github.com/fsprojects/FSharp.Data.GraphQL/sessions/70eb1609-2aab-4948-8d69-52c900443420 Co-authored-by: xperiandri <2365592+xperiandri@users.noreply.github.com>
1 parent 745189d commit 7291234

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/FSharp.Data.GraphQL.Shared/ValidationResultCache.fs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ type IValidationResultCache =
1717
module SchemaId =
1818
/// <summary>
1919
/// Computes an in-memory schema identifier from an introspection schema instance.
20+
/// This identifier is valid only within the current process/runtime and is not deterministic across process restarts.
2021
/// </summary>
2122
/// <param name="introspectionSchema">The introspection schema.</param>
22-
/// <returns>A string representation of the schema hash code.</returns>
23+
/// <returns>A string representation of the schema hash code for in-process cache keys.</returns>
2324
[<CompiledName("FromIntrospectionSchema")>]
2425
let fromIntrospectionSchema (introspectionSchema : IntrospectionSchema) =
2526
introspectionSchema.GetHashCode().ToString(System.Globalization.CultureInfo.InvariantCulture)

0 commit comments

Comments
 (0)