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 |
robertsLando
left a comment
There was a problem hiding this comment.
@getlarge Could you add a reference to aedes-server-factory in readme? Or we could leave that for another PR
|
@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
robertsLando
left a comment
There was a problem hiding this comment.
@getlarge It's ok for me. LGTM.
|
@mcollina Can we go on here or would you like to give it a look to? |
|
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-decoderand in the futureaedes-server-factorymodules.@robertsLando proposed to assigned
connDetailsin theclient.req, those details would be extracted during thecreateServerprocess inaedes-server-factory.In
nextBatchthe buffer would only be a raw mqtt buffer, so no need for the nested conditions anymore.