Skip to content

Commit 87eb5e5

Browse files
committed
Added server variable docs.
1 parent b4d1e51 commit 87eb5e5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,12 @@ To create a Poly client Function you need to follow the same steps as with a ser
349349
```java
350350
@PolyFunction(polyType = FunctionType.CLIENT)
351351
```
352+
### Vari server variables
353+
To create a Poly server variable you need to just run the following command:
354+
``` bash
355+
mvn polyapi:create-server-variable -Dname=myVariable -Dvalue=myValue -Dcontext=myContext
356+
```
357+
352358
## Limitations
353359
Comparing to its Typescript counterpart, the Java library is still missing the following features:
354360
- Error handlers

0 commit comments

Comments
 (0)