MCPcopy Create free account
hub / github.com/compozy/agh / Validate

Method Validate

internal/store/types.go:1683–1685  ·  view source on GitHub ↗

Validate ensures the query uses sane bounds.

()

Source from the content-addressed store, hash-verified

1681
1682// Validate ensures the query uses sane bounds.
1683func (q NetworkDirectRoomQuery) Validate() error {
1684 return requirePositiveLimit(q.Limit, "network direct room limit")
1685}
1686
1687// NetworkConversationMessageQuery filters conversation message lookups.
1688type NetworkConversationMessageQuery struct {

Callers 3

networkDirectsMethod · 0.95

Calls 1

requirePositiveLimitFunction · 0.85

Tested by

no test coverage detected