commit
b44dad3ce6
|
@ -10,8 +10,7 @@ import (
|
|||
"github.com/hashicorp/go-multierror"
|
||||
)
|
||||
|
||||
// AcyclicGraph is a specialization of Graph that cannot have cycles. With
|
||||
// this property, we get the property of sane graph traversal.
|
||||
// AcyclicGraph is a specialization of Graph that cannot have cycles.
|
||||
type AcyclicGraph struct {
|
||||
Graph
|
||||
}
|
||||
|
|
|
@ -303,7 +303,7 @@ func (w *MapFieldWriter) setSet(
|
|||
tempSchemaMap := map[string]*Schema{tempAddr[0]: &tempSchema}
|
||||
tempW := &MapFieldWriter{Schema: tempSchemaMap}
|
||||
|
||||
// Set the entire list, this lets us get sane values out of it
|
||||
// Set the entire list, this lets us get values out of it
|
||||
if err := tempW.WriteField(tempAddr, value); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
@ -168,7 +168,7 @@ func (b *ApplyGraphBuilder) Steps() []GraphTransformer {
|
|||
&CloseRootModuleTransformer{},
|
||||
|
||||
// Perform the transitive reduction to make our graph a bit
|
||||
// more sane if possible (it usually is possible).
|
||||
// more understandable if possible (it usually is possible).
|
||||
&TransitiveReductionTransformer{},
|
||||
}
|
||||
|
||||
|
|
|
@ -162,7 +162,7 @@ func (b *PlanGraphBuilder) Steps() []GraphTransformer {
|
|||
&CloseRootModuleTransformer{},
|
||||
|
||||
// Perform the transitive reduction to make our graph a bit
|
||||
// more sane if possible (it usually is possible).
|
||||
// more understandable if possible (it usually is possible).
|
||||
&TransitiveReductionTransformer{},
|
||||
}
|
||||
|
||||
|
|
|
@ -746,8 +746,8 @@ is not in JSON format above due to being returned by an intermediate proxy.
|
|||
Endpoints that return lists of results use a common pagination format.
|
||||
|
||||
They accept positive integer query variables `offset` and `limit` which have the
|
||||
usual SQL-like semantics. Each endpoint will have a sane default limit and a
|
||||
default offset of `0`. Each endpoint will also apply a sane maximum limit,
|
||||
usual SQL-like semantics. Each endpoint will have a default limit and a
|
||||
default offset of `0`. Each endpoint will also apply a maximum limit,
|
||||
requesting more results will just result in the maximum limit being used.
|
||||
|
||||
The response for a paginated result set will look like:
|
||||
|
|
Loading…
Reference in New Issue