MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / resolveScopedProperties

Method resolveScopedProperties

server/src/validator.ts:450–456  ·  view source on GitHub ↗
(
    normalizedDomain: string,
    scope: NormalizedScope,
    properties: PropertyDefinition[]
  )

Source from the content-addressed store, hash-verified

448 }
449
450 private resolveScopedProperties(
451 normalizedDomain: string,
452 scope: NormalizedScope,
453 properties: PropertyDefinition[]
454 ): PropertyDefinition[] {
455 return properties.filter((property) => this.propertyMatchesScope(property, normalizedDomain, scope));
456 }
457
458 private propertyMatchesScope(
459 property: PropertyDefinition,

Calls 1

propertyMatchesScopeMethod · 0.95

Tested by

no test coverage detected