Skip to content
This repository was archived by the owner on Jan 4, 2023. It is now read-only.
This repository was archived by the owner on Jan 4, 2023. It is now read-only.

Blank screen after clicking on service that does not exists #71

@Zexuz

Description

@Zexuz

Problem

When a Rpc Service has the same name as a MessageType in a different package, but is using it via imports, the client will display two different services.

And when clicking on the second service (The one that does not exist in that package name, nor should it), bloom will display a white page.

image

Before
image

After
image

Info

Version: 1.3.0
OS: Windows

Current Workaround

Go to ...AppData\Roaming\bloom-rpc-client\editor.json and change the tabs.activeKey to a valid key.

Steps to reproduce

Imported paths

C:\Users\desktop\Desktop\somePath

Proto Files

C:\Users\desktop\Desktop\somePath\proto\example-messages.proto

syntax = "proto3";

package mypackage.common;

message Example {
}

C:\Users\desktop\Desktop\somePath\proto\service.proto

syntax = "proto3";

import "proto/example-messages.proto";

package mypackage.service;

service Example {
    rpc DoSomeThing (DoSomeThingRequest) returns (DoSomeThingResponse) {
    }
}

message DoSomeThingRequest {
}
message DoSomeThingResponse {
    mypackage.common.Example msg = 1;
}

Add the proto\service.proto and press on the second service.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions