-
-
Notifications
You must be signed in to change notification settings - Fork 232
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
feat: delegate protocol decoding in server-factory and protocol-decoder #549
feat: delegate protocol decoding in server-factory and protocol-decoder #549
Conversation
Pull Request Test Coverage Report for Build 306174686
💛 - Coveralls |
Pull Request Test Coverage Report for Build 306174686Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
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.
@getlarge Could you add a reference to aedes-server-factory
in readme? Or we could leave that for another PR
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.
LGTM
@getlarge Feel free to add yourself to the collaborators section too in readme :) |
@robertsLando Ok i will. |
Yes I think we need to land:
And then this one :) |
@getlarge When we are ready with server factory we could merge this first so you can use a fixed version in package.json instead of using the github version |
@robertsLando I think server-factory is ready, we would also need a fixed version for the protocol-decoder (which contains breaking changes), which is also a dependency is server-factory. |
@getlarge Ok so we can firstly merge this one, then the protocol decoder, and as last the server factory, right? |
@getlarge this would need some examples docs here also but could do it in a separete pr |
@robertsLando I added an example in |
…into remove-protocol-decoding
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.
@getlarge It's ok for me. LGTM.
@mcollina Can we go on here or would you like to give it a look to? |
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.
lgtm
Doesn't this mean a new major version? |
@ralphtheninja AFAIK 0.x version are always like majors (0.x is considered like "initial development" of a project) :) until we don't release a 1.0.0. The reason is that many things could change with Mqtt 5 support so we are waiting to see how it goes before releasing 1.0.0 |
Ok! Just checking 👍 |
Following discussions #413 and here.
I removed functions, dependencies, tests, examples and docs to take place in
aedes-protocol-decoder
and in the futureaedes-server-factory
modules.@robertsLando proposed to assigned
connDetails
in theclient.req
, those details would be extracted during thecreateServer
process inaedes-server-factory
.In
nextBatch
the buffer would only be a raw mqtt buffer, so no need for the nested conditions anymore.