fix: improve documentation of the config object

This commit is contained in:
Vikram Rangnekar
2020-04-23 21:21:45 -04:00
parent 5857efdd70
commit 03fe29b088
11 changed files with 77 additions and 36 deletions

View File

@ -50,7 +50,7 @@ func DropSchema(t *testing.T, db *sql.DB) {
}
func TestSuperGraph(t *testing.T, db *sql.DB, before func(t *testing.T)) {
config := core.Config{}
config := core.Config{DefaultBlock: true}
config.UseAllowList = false
config.AllowListFile = "./allow.list"
config.RolesQuery = `SELECT * FROM users WHERE id = $user_id`