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

Are there any plans to simplify the request #1402

Open
sunny1d opened this issue Feb 7, 2024 · 1 comment
Open

Are there any plans to simplify the request #1402

sunny1d opened this issue Feb 7, 2024 · 1 comment

Comments

@sunny1d
Copy link

sunny1d commented Feb 7, 2024

Now I create a new request that looks like this:

   let request = new xxx.Request();
    request.setName('name');
    request.setAge(12);

I want to implement the request like this:

  let request = new xxx.Request({
      name:'name',
      age:12
  });
@sampajano
Copy link
Collaborator

Hi! So basically what we currently have is part of the JS protobuf API, and it's not likely to change for the lifespan of the project.

Although, we are actually looking into alternative "protobuf" solutions overall, so when that happens i think something like you proposed could be possible :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants