Zapix / mtpylon

Library to build backend with MTProto's protocol
MIT License
10 stars 0 forks source link

Zapix/107 bare type support #109

Closed Zapix closed 3 years ago

Zapix commented 3 years ago

Closes #107

Added bare type support. Describe MessageContainer with bare types and custom message wrapper

codecov[bot] commented 3 years ago

Codecov Report

Merging #109 (6d2e357) into dev (997b91c) will increase coverage by 0.48%. The diff coverage is 99.28%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #109      +/-   ##
==========================================
+ Coverage   98.76%   99.24%   +0.48%     
==========================================
  Files         178      178              
  Lines        4942     5040      +98     
==========================================
+ Hits         4881     5002     +121     
+ Misses         61       38      -23     
Flag Coverage Δ
unittests 99.24% <99.28%> (+0.48%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...e_schema/test_serialization/test_service_schema.py 100.00% <ø> (ø)
tests/test_service_schema/test_service_schema.py 100.00% <ø> (ø)
mtpylon/serialization/schema.py 98.97% <97.75%> (-1.03%) :arrow_down:
mtpylon/messages/encrypted_message.py 100.00% <100.00%> (ø)
mtpylon/messages/unencrypted_message.py 100.00% <100.00%> (ø)
mtpylon/serialization/vector.py 100.00% <100.00%> (ø)
...n/service_schema/constructors/message_container.py 100.00% <100.00%> (ø)
...lon/service_schema/functions/req_DH_params_func.py 96.29% <100.00%> (ø)
...vice_schema/functions/set_client_DH_params_func.py 100.00% <100.00%> (ø)
mtpylon/service_schema/serialization/message.py 100.00% <100.00%> (ø)
... and 7 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 997b91c...6d2e357. Read the comment docs.