Skip to content

Commit

Permalink
feat: Get-GQL -Cache ( Fixes #2, Fixes #31 )
Browse files Browse the repository at this point in the history
  • Loading branch information
StartAutomating authored and StartAutomating committed Dec 18, 2024
1 parent 3622960 commit 3f2c850
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/Get-GQL.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,14 @@ By decorating an object with one or more typenames, we can:
|------------|--------|--------|-------------|---------------------------------------------------------------------------|
|`[String[]]`|false |6 |false |Decorate<br/>Decoration<br/>PSTypeNames<br/>TypeName<br/>TypeNames<br/>Type|

#### **Cache**
If set, will cache the results of the query.
This can be useful for queries that would be run frequently, but change infrequently.

|Type |Required|Position|PipelineInput |
|----------|--------|--------|---------------------|
|`[Switch]`|false |named |true (ByPropertyName)|

#### **WhatIf**
-WhatIf is an automatic variable that is created when a command has ```[CmdletBinding(SupportsShouldProcess)]```.
-WhatIf is used to see what would happen, or return operations without executing them
Expand All @@ -103,5 +111,5 @@ If the command sets a ```[ConfirmImpact("Medium")]``` which is lower than ```$co

### Syntax
```PowerShell
Get-GQL [[-Query] <String[]>] [[-PersonalAccessToken] <String>] [[-GraphQLUri] <Uri>] [[-Parameter] <IDictionary>] [[-Header] <IDictionary>] [[-PSTypeName] <String[]>] [-WhatIf] [-Confirm] [<CommonParameters>]
Get-GQL [[-Query] <String[]>] [[-PersonalAccessToken] <String>] [[-GraphQLUri] <Uri>] [[-Parameter] <IDictionary>] [[-Header] <IDictionary>] [[-PSTypeName] <String[]>] [-Cache] [-WhatIf] [-Confirm] [<CommonParameters>]
```

0 comments on commit 3f2c850

Please sign in to comment.