iTwin / viewer

Monorepo that contains the iTwin Viewer npm packages and their related packages
MIT License
25 stars 16 forks source link

multiple rpc interfaces multiple backends #236

Closed ben-polinsky closed 1 year ago

ben-polinsky commented 1 year ago

Enable the registration of multiple RPC interfaces across multiple backends, retaining the concept and functional of a default backend.

Since both the Viewer backend and additionalRpcInterfaces props relate to the same functionality, they've been merged as backendConfiguration.

This is a breaking change to the Viewer's API.

fixes: https://github.com/iTwin/viewer/issues/247

ben-polinsky commented 1 year ago

@aruniverse added another pass the other day, simplifying types and defaults. May need to wait until this is merged to see if additional changes are needed