build(deps): bump github.com/open-policy-agent/opa from 1.3.0 to 1.4.2
Bumps [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa) from 1.3.0 to 1.4.2. - [Release notes](https://github.com/open-policy-agent/opa/releases) - [Changelog](https://github.com/open-policy-agent/opa/blob/main/CHANGELOG.md) - [Commits](https://github.com/open-policy-agent/opa/compare/v1.3.0...v1.4.2) --- updated-dependencies: - dependency-name: github.com/open-policy-agent/opa dependency-version: 1.4.2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
+5
-5
@@ -29,7 +29,7 @@ type Definition struct {
|
||||
Types []string // union
|
||||
EnumValues EnumValueList // enum
|
||||
|
||||
Position *Position `dump:"-"`
|
||||
Position *Position `dump:"-" json:"-"`
|
||||
BuiltIn bool `dump:"-"`
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ type FieldDefinition struct {
|
||||
DefaultValue *Value // only for input objects
|
||||
Type *Type
|
||||
Directives DirectiveList
|
||||
Position *Position `dump:"-"`
|
||||
Position *Position `dump:"-" json:"-"`
|
||||
}
|
||||
|
||||
type ArgumentDefinition struct {
|
||||
@@ -74,14 +74,14 @@ type ArgumentDefinition struct {
|
||||
DefaultValue *Value
|
||||
Type *Type
|
||||
Directives DirectiveList
|
||||
Position *Position `dump:"-"`
|
||||
Position *Position `dump:"-" json:"-"`
|
||||
}
|
||||
|
||||
type EnumValueDefinition struct {
|
||||
Description string
|
||||
Name string
|
||||
Directives DirectiveList
|
||||
Position *Position `dump:"-"`
|
||||
Position *Position `dump:"-" json:"-"`
|
||||
}
|
||||
|
||||
type DirectiveDefinition struct {
|
||||
@@ -90,5 +90,5 @@ type DirectiveDefinition struct {
|
||||
Arguments ArgumentDefinitionList
|
||||
Locations []DirectiveLocation
|
||||
IsRepeatable bool
|
||||
Position *Position `dump:"-"`
|
||||
Position *Position `dump:"-" json:"-"`
|
||||
}
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@ const (
|
||||
type Directive struct {
|
||||
Name string
|
||||
Arguments ArgumentList
|
||||
Position *Position `dump:"-"`
|
||||
Position *Position `dump:"-" json:"-"`
|
||||
|
||||
// Requires validation
|
||||
ParentDefinition *Definition
|
||||
|
||||
+4
-4
@@ -3,7 +3,7 @@ package ast
|
||||
type QueryDocument struct {
|
||||
Operations OperationList
|
||||
Fragments FragmentDefinitionList
|
||||
Position *Position `dump:"-"`
|
||||
Position *Position `dump:"-" json:"-"`
|
||||
}
|
||||
|
||||
type SchemaDocument struct {
|
||||
@@ -12,7 +12,7 @@ type SchemaDocument struct {
|
||||
Directives DirectiveDefinitionList
|
||||
Definitions DefinitionList
|
||||
Extensions DefinitionList
|
||||
Position *Position `dump:"-"`
|
||||
Position *Position `dump:"-" json:"-"`
|
||||
}
|
||||
|
||||
func (d *SchemaDocument) Merge(other *SchemaDocument) {
|
||||
@@ -69,11 +69,11 @@ type SchemaDefinition struct {
|
||||
Description string
|
||||
Directives DirectiveList
|
||||
OperationTypes OperationTypeDefinitionList
|
||||
Position *Position `dump:"-"`
|
||||
Position *Position `dump:"-" json:"-"`
|
||||
}
|
||||
|
||||
type OperationTypeDefinition struct {
|
||||
Operation Operation
|
||||
Type string
|
||||
Position *Position `dump:"-"`
|
||||
Position *Position `dump:"-" json:"-"`
|
||||
}
|
||||
|
||||
+3
-3
@@ -8,7 +8,7 @@ type FragmentSpread struct {
|
||||
ObjectDefinition *Definition
|
||||
Definition *FragmentDefinition
|
||||
|
||||
Position *Position `dump:"-"`
|
||||
Position *Position `dump:"-" json:"-"`
|
||||
}
|
||||
|
||||
type InlineFragment struct {
|
||||
@@ -19,7 +19,7 @@ type InlineFragment struct {
|
||||
// Require validation
|
||||
ObjectDefinition *Definition
|
||||
|
||||
Position *Position `dump:"-"`
|
||||
Position *Position `dump:"-" json:"-"`
|
||||
}
|
||||
|
||||
type FragmentDefinition struct {
|
||||
@@ -34,5 +34,5 @@ type FragmentDefinition struct {
|
||||
// Require validation
|
||||
Definition *Definition
|
||||
|
||||
Position *Position `dump:"-"`
|
||||
Position *Position `dump:"-" json:"-"`
|
||||
}
|
||||
|
||||
+2
-2
@@ -14,7 +14,7 @@ type OperationDefinition struct {
|
||||
VariableDefinitions VariableDefinitionList
|
||||
Directives DirectiveList
|
||||
SelectionSet SelectionSet
|
||||
Position *Position `dump:"-"`
|
||||
Position *Position `dump:"-" json:"-"`
|
||||
}
|
||||
|
||||
type VariableDefinition struct {
|
||||
@@ -22,7 +22,7 @@ type VariableDefinition struct {
|
||||
Type *Type
|
||||
DefaultValue *Value
|
||||
Directives DirectiveList
|
||||
Position *Position `dump:"-"`
|
||||
Position *Position `dump:"-" json:"-"`
|
||||
|
||||
// Requires validation
|
||||
Definition *Definition
|
||||
|
||||
+2
-2
@@ -21,7 +21,7 @@ type Field struct {
|
||||
Arguments ArgumentList
|
||||
Directives DirectiveList
|
||||
SelectionSet SelectionSet
|
||||
Position *Position `dump:"-"`
|
||||
Position *Position `dump:"-" json:"-"`
|
||||
|
||||
// Require validation
|
||||
Definition *FieldDefinition
|
||||
@@ -31,7 +31,7 @@ type Field struct {
|
||||
type Argument struct {
|
||||
Name string
|
||||
Value *Value
|
||||
Position *Position `dump:"-"`
|
||||
Position *Position `dump:"-" json:"-"`
|
||||
}
|
||||
|
||||
func (s *Field) ArgumentMap(vars map[string]interface{}) map[string]interface{} {
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ type Type struct {
|
||||
NamedType string
|
||||
Elem *Type
|
||||
NonNull bool
|
||||
Position *Position `dump:"-"`
|
||||
Position *Position `dump:"-" json:"-"`
|
||||
}
|
||||
|
||||
func (t *Type) Name() string {
|
||||
|
||||
+2
-2
@@ -25,7 +25,7 @@ type Value struct {
|
||||
Raw string
|
||||
Children ChildValueList
|
||||
Kind ValueKind
|
||||
Position *Position `dump:"-"`
|
||||
Position *Position `dump:"-" json:"-"`
|
||||
|
||||
// Require validation
|
||||
Definition *Definition
|
||||
@@ -36,7 +36,7 @@ type Value struct {
|
||||
type ChildValue struct {
|
||||
Name string
|
||||
Value *Value
|
||||
Position *Position `dump:"-"`
|
||||
Position *Position `dump:"-" json:"-"`
|
||||
}
|
||||
|
||||
func (v *Value) Value(vars map[string]interface{}) (interface{}, error) {
|
||||
|
||||
Reference in New Issue
Block a user