-
Notifications
You must be signed in to change notification settings - Fork 141
Add InvalidArguments to OpenError, ChannelError and ResolveError enums #1559
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…Error and ResolveError enums
✅ Deploy Preview for fdc3 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Fixed broken unit tests
Fixed broken unit test
Thanks for taking this on @KhurramJalil. Rather than updating BridgingTypes.ts and BrowserTypes.ts directly, the schema files that they are generated from need to be updated. You can find the relevant section of the schema file at: https://github.com/KhurramJalil/FDC3/blob/f63785ae6615d44ff64fa986d1640573945937da/packages/fdc3-schema/schemas/api/api.schema.json#L302-L362 Once updated, run the following to generate the source files: cd packages/fdc3-schema
npm install
npm run build You should then have some modified files in your checkout that you can then commit to your PR branch. |
Oh and also the docs page at: https://github.com/KhurramJalil/FDC3/blob/patch-2/website/docs/api/ref/Errors.md |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Describe your change
Fixed #1490 by adding InvalidArguments inside OpenError, ChannelError and ResolveError enums
Related Issue
Resolves #1490
#1490
Contributor License Agreement
Review Checklist
DesktopAgent
,Channel
,PrivateChannel
,Listener
,Bridging
)?JSDoc comments on interfaces and types should be matched to the main documentation in /docs
Conformance test definitions should cover all required aspects of an FDC3 Desktop Agent implementation, which are usually marked with a MUST keyword, and optional features (SHOULD or MAY) where the format of those features is defined
The Web Connection protocol and Desktop Agent Communication Protocol schemas must be able to support all necessary aspects of the Desktop Agent API, while Bridging must support those aspects necessary for Desktop Agents to communicate with each other
npm run build
) run and the results checked in?Generated code will be found at
/src/api/BrowserTypes.ts
and/or/src/bridging/BridgingTypes.ts
BaseContext
schema applied viaallOf
(as it is in existing types)?title
anddescription
provided for all properties defined in the schema?npm run build
) run and the results checked in?Generated code will be found at
/src/context/ContextTypes.ts