-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Moving rpc to plugin #1290
Moving rpc to plugin #1290
Conversation
3fff2a9
to
90f0a3b
Compare
I don't understand why we need these |
@erikzhang is to improve the usability of HttpServer controller, you will be able to receive and return primitive types instead of having to transform from/to JObject inside the RPC/Rest method. But it is useful for many situations, not only on this case. I can't do this using extension methods because I need to overload the method. |
61dede1
to
14dd15b
Compare
702dba5
to
1049ada
Compare
Are this changes good? May I change all plugins depending on Rpc to use this HttpServer plugin? |
items.ForEach(o => list.Add(o.ToPrimitive())); | ||
|
||
return list.ToArray(); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If these methods are only used in plugins, it is recommended to put them in plugin extension methods.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't do this using extension methods because I need to overload the method.
If we move RPC to plugin, I'm not sure will the |
They should be moved too. |
|
But will |
@shargon so what is the point of moving out with neo-types if it will still be inside neo (as dependency)? I believe it will only bring difficulty working with one more project, don't you think? |
@erikzhang sorry, I don't understand why this PR was closed, should I do something? |
This PR has not progressed for many days, and we need to move forward as soon as possible. So I removed RPC in #1340, and moved it to plugins: neo-project/neo-modules#160, neo-project/neo-modules#163 |
⚠I am not being able to push because of this file:
.github/workflows/dotnetcore.yml
can you help me?!We are moving the RpcServer to a plugin as discussed on this PR: neo-project/neo-modules#143