Service discovery functionality should implement OpenRPC spec

Created on 17 June 2021, over 3 years ago
Updated 21 September 2024, 4 months ago

Problem/Motivation

This module features service discovery, however it looks like we could add value by having it implemenet https://spec.open-rpc.org/#service-discovery-method

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bradjones1 Digital Nomad Life

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡―πŸ‡΅Japan ptmkenny

    I agree it would be better to support a standard like OpenRPC instead of the arbitrary output that jsonrpc_discovery lists now.

    However, after looking over the spec, moving to OpenRPC would require methods to be able to provide additional info (such as examples of how to use the method), which would require changes to the annotations, which are now deprecated πŸ“Œ Migrate from Doctrine annotations to PHP attributes Active . So I am moving this to 3.x, so that it can be done after the attributes migration.

    If this is to be implemented, instead of modifying the jsonrpc_discovery submodule, I think a new module should be created, jsonrpc_openrpc, and then we can remove jsonrpc_discovery from 3.x.

Production build 0.71.5 2024