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

fix: remove selfHostedServer from deviceInfo.deviceType rpc #807

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

tomasciccola
Copy link
Contributor

this is a regression from previous release of core.
We originally added selfHostedServer to DeviceInfo.deviceType to match schema definition. But we don't want to be able to open rpc connections to a remote server; so instead we just mangle the types to omit that enum member were appropiate

@tomasciccola tomasciccola self-assigned this Sep 2, 2024
Copy link
Member

@gmaclennan gmaclennan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine for now. We may want to allow setDeviceInfo to set as selfHostedServer, but not advertise to peers, when we finish the server, but @EvanHahn can deal with that later - I couldn't get the types to work.

@gmaclennan gmaclennan merged commit e9e427a into main Sep 2, 2024
7 checks passed
@gmaclennan gmaclennan deleted the chore/removeSelfHostedServerFromDeviceType branch September 2, 2024 19:40
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 this pull request may close these issues.

2 participants