Skip to content

Commit 6df464c

Browse files
PropertyConverter: add note about not using BoxStore, handling nulls.
#563
1 parent bd2dd93 commit 6df464c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

objectbox-java-api/src/main/java/io/objectbox/converter/PropertyConverter.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
* <ul>
2424
* <li>Converters are created by the default constructor</li>
2525
* <li>Converters must be implemented thread-safe</li>
26+
* <li>Converters must not interact with the database (such as using Box or BoxStore)</li>
27+
* <li>Converters must handle null values</li>
2628
* </ul>
2729
*/
2830
public interface PropertyConverter<P, D> {

0 commit comments

Comments
 (0)