A Provider may want to control a Catalog's visibility across multiple networks, and a Seeker may want to discover products/services across multiple networks.
Current: context.networkId is a String.
Proposal: context.networkId accepts a String or an Array of Strings. A bare string is retained for backward compatibility so existing NPs are unaffected.
See the linked discussion for the full thread and decisions.
Related: #163 (networkId as a Discovery Intent filter) · PR #178 (schema change on draft).
Discussed in Networks-for-Humanity/fabric-support#24
A Provider may want to control a Catalog's visibility across multiple networks, and a Seeker may want to discover products/services across multiple networks.
Current:
context.networkIdis a String.Proposal:
context.networkIdaccepts a String or an Array of Strings. A bare string is retained for backward compatibility so existing NPs are unaffected.See the linked discussion for the full thread and decisions.
Related: #163 (networkId as a Discovery Intent filter) · PR #178 (schema change on
draft).