(attribute->path attribute)
Convert attribute keyword to a list of strings, eg :some/attribute => ['some' 'attribute']
Convert attribute keyword to a list of strings, eg :some/attribute => ['some' 'attribute']
(endpoint-query? {:keys [blueprints] :as state}
{:keys [attribute sources-data] :as args})
Check whether the conditions are right to issue an endpoint query
Check whether the conditions are right to issue an endpoint query
(get-endpoint-data state args sources-data this)
If 'this' was previously retrieved and is still valid, return it; Else query fresh data
If 'this' was previously retrieved and is still valid, return it; Else query fresh data
(handle-attribute-value value & [ttl-fn])
If the value is properly initialized, return it, or nil if it is ttl'd; If the value is nil, return nil; If the value isn't properly initialized, wrap it proper
If the value is properly initialized, return it, or nil if it is ttl'd; If the value is nil, return nil; If the value isn't properly initialized, wrap it proper
(handle-return-value blueprints node attribute value)
(handle-return-value blueprints
node
attribute
convert-fn
{data :data :as value})
If the attribute's value is initialized, return its internal :data field, Otherwise if the attribute is dynamic in essence, return the 'uninitialized' marker; Else returns nil.
If the attribute's value is initialized, return its internal :data field, Otherwise if the attribute is dynamic in essence, return the 'uninitialized' marker; Else returns nil.
(lookup-attribute-value node attribute & [ttl-fn])
Lookup the attribute value in the node, optionally trying the attribute for a nested path. Returned values are guaranteed to be properly initialized and relevant, or otherwise nil.
Lookup the attribute value in the node, optionally trying the attribute for a nested path. Returned values are guaranteed to be properly initialized and relevant, or otherwise nil.
(query-attribute {:keys [endpoint-connectors] :as state}
{:keys [attribute] :as args})
When the conditions are right for an endpoint query, invokes the Connector/query api with the endpoint connector designated by the 'connector-id'
When the conditions are right for an endpoint query, invokes the Connector/query api with the endpoint connector designated by the 'connector-id'
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close