Skip to content

Commit 65e76e7

Browse files
committed
Add instructions for custom functions configuration in README
1 parent 990f6ec commit 65e76e7

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,11 @@ Some functions of "Doma Tools" can be customized from the settings screen.
9797
- Customize action shortcut keys
9898
- Toggle the SQL formatting feature on or off
9999
- Specify the class names that define custom functions.
100-
![setting.png](images/setting.png)
100+
101+
**If you want to use custom functions defined in your own ExpressionFunctions implementation class,
102+
place a `doma.compile.config` file directly under the resources directory and describe the `doma.expr.functions` entry.**
103+
104+
ex) doma.compile.config
105+
```properties
106+
doma.expr.functions=example.expression.MyExpressionFunctions
107+
```

0 commit comments

Comments
 (0)