joemfb / ml-common-ng

An angular module of common components for the MarkLogic REST API
https://joemfb.github.io/ml-common-ng/
2 stars 2 forks source link

adds backwards-compat qb methods #16

Closed joemfb closed 9 years ago

joemfb commented 9 years ago

re #14

Notes:

/cc @grtjn

grtjn commented 9 years ago

one-way compat?

joemfb commented 9 years ago

Meaning only partial support for the official query-builder, even on a per-method basis. In other words, the goal is for code written to this query-builder to Just Work with the official query-builder, but not the other way around. Too many edge cases to support.

grtjn commented 9 years ago

Ah yes, clear..

joemfb commented 9 years ago

Are you good with this PR as a first step? I figure custom weight support via qb.weight() can be added in a later PR.

grtjn commented 9 years ago

Haven't tested, but looks good..