finos / FDC3

An open standard for the financial desktop.
https://fdc3.finos.org
Other
187 stars 109 forks source link

FindIntentsByContextAgentRequest doesn't allow for supplying resultType #1211

Closed robmoffat closed 1 month ago

robmoffat commented 1 month ago

Minor Issue

Interface is this:

export interface FindIntentsByContextAgentRequestPayload {
    context: ContextElement;
}

However the API is this:

findIntentsByContext(context: Context, resultType?: string): Promise<Array<AppIntent>>;

Area of Issue

[ ] App Directory [x] API [ ] Context Data [ ] Intents [x] Desktop Agent Bridging [ ] Use Cases [ ] Other

Is that a bug?