Torin Sandall b2f5e70fcd Allow sets to be treated like objects/arrays
In the past, topdown would bind set[x] to true. This resulted in
confusion when people attempted to write joins with set elements.

With this change, topdown treats sets like objects/arrays, except that
set[x] is bound to x. This allows users to write queries that
dereference sets just like objects and arrays.

Also, fix handling of self-joins where previously a recursive binding
could be added. The "self-join" test case was added to cover this.

Fixes #243
2017-02-07 15:45:17 -08:00
2017-02-07 11:34:25 -08:00
2017-01-20 13:58:13 -08:00
2016-12-19 09:59:04 -08:00
2017-01-20 13:58:13 -08:00
2017-01-18 16:37:32 -08:00
2017-02-07 11:34:25 -08:00
2016-10-17 11:03:48 -07:00
2016-12-22 15:54:00 -08:00
2017-02-03 09:35:36 -08:00
2016-10-25 14:07:45 -07:00
2016-11-10 12:21:37 -08:00
2015-12-28 14:08:25 -08:00
2016-05-09 08:56:55 -07:00
2017-02-03 09:35:36 -08:00

Open Policy Agent

The Open Policy Agent (OPA) is an open source project that helps policy-enable your service. By integrating with OPA, your service's operators will be empowered to manage the size, complexity, and dynamic nature of modern deployments.

Want to learn about OPA?

See openpolicyagent.org to get started.

Want to get OPA?

See Get OPA for releases.

Want to build OPA?

See DEVELOPMENT.md for development environment setup and build instructions.

Languages
Go 85.1%
C 7.5%
C++ 5.6%
Open Policy Agent 0.8%
Open-Policy-Agent 0.4%
Other 0.5%