dmpayton / reqon

Build simple, read-only RethinkDB queries from JSON
https://reqon.readthedocs.org/
MIT License
2 stars 1 forks source link

Fix array breaking expand path #8

Closed dphaener closed 8 years ago

dphaener commented 8 years ago

This fixes a bug where passing in an array to a query would break the _expand_path method. If a value is passed in that is not a string, it should simply get passed through as is, otherwise it should get split into a dictionary. This adds an explicit type check.

Fixes #6

codecov-io commented 8 years ago

Current coverage is 95.39%

Merging #8 into develop will decrease coverage by -0.02% as of c3e56a9

@@            develop      #8   diff @@
=======================================
  Files             7       7       
  Stmts           240     239     -1
  Branches          0       0       
  Methods           0       0       
=======================================
- Hit             229     228     -1
  Partial           0       0       
  Missed           11      11       

Review entire Coverage Diff as of c3e56a9

Powered by Codecov. Updated on successful CI builds.

dphaener commented 8 years ago

@dmpayton Ready for review