Skip to content
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

parsing of the rpc.discover document hangs #334

Open
ivy-rew opened this issue Apr 10, 2024 · 0 comments · May be fixed by #335
Open

parsing of the rpc.discover document hangs #334

ivy-rew opened this issue Apr 10, 2024 · 0 comments · May be fixed by #335

Comments

@ivy-rew
Copy link

ivy-rew commented Apr 10, 2024

Describe the bug
I've implemented a service, supporting 'rpc.discover' requests. The returned document is parsed automatically, but it freezes the inspector UI and will not end.

To Reproduce
Steps to reproduce the behavior:

  1. Enter the endpoint URI to a service implementing 'rpc.discover'
  2. Change the transport to 'websocket'
  3. The UI is freezed

Expected behavior

  • OpenRPC doc tab/icon should be shown
  • The monaco editor should give completion support, just as it does when passing the openrpc spec via ?schemaUrl query parameter.

Screenshots

Desktop (please complete the following information):

  • Firefox 124.02

Additional context
Here's my jsonrpc discovery trace log:
jsonrpc-request.txt
And this is the returned schema as dedicated file: https://json-schema.axonivy.com/openrpc/11.3.0/inscription.json

@ivy-rew ivy-rew linked a pull request Apr 10, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant