Skip to content

Commit

Permalink
renamed computed values annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
rashtao committed Feb 23, 2024
1 parent f6a0e2d commit cb84e3c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ are mutable. This applies to the fields annotated with:
- `@Rev`

In addition, the following methods also try to update the fields annotated with
`@ComputedValueField`:
`@ArangoComputedValue`:
- `ArangoOperations#repsert(Object)`
- `ArangoOperations#repsertAll(Iterable<Object>, Class<?>)`

Expand All @@ -216,11 +216,10 @@ This applies to the fields annotated with:
- `@ArangoId`
- `@Id`
- `@Rev`
- `@ComputedValueField`
- `@ArangoComputedValue`

This behavior can be changed by overriding `ArangoConfiguration#returnOriginalEntities()`,
which by default returns `true`. An example of returning new entity instances from
`ArangoRepository#save(Object)` and `ArangoRepository#saveAll(Iterable<Object>)`:
which by default returns `true`. For example:

```java
@Configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ are mutable. This applies to the fields annotated with:
- `@Rev`

In addition, the following methods also try to update the fields annotated with
`@ComputedValueField`:
`@ArangoComputedValue`:
- `ArangoOperations#repsert(Object)`
- `ArangoOperations#repsertAll(Iterable<Object>, Class<?>)`

Expand All @@ -216,11 +216,10 @@ This applies to the fields annotated with:
- `@ArangoId`
- `@Id`
- `@Rev`
- `@ComputedValueField`
- `@ArangoComputedValue`

This behavior can be changed by overriding `ArangoConfiguration#returnOriginalEntities()`,
which by default returns `true`. An example of returning new entity instances from
`ArangoRepository#save(Object)` and `ArangoRepository#saveAll(Iterable<Object>)`:
which by default returns `true`. For example:

```java
@Configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ are mutable. This applies to the fields annotated with:
- `@Rev`

In addition, the following methods also try to update the fields annotated with
`@ComputedValueField`:
`@ArangoComputedValue`:
- `ArangoOperations#repsert(Object)`
- `ArangoOperations#repsertAll(Iterable<Object>, Class<?>)`

Expand All @@ -216,11 +216,10 @@ This applies to the fields annotated with:
- `@ArangoId`
- `@Id`
- `@Rev`
- `@ComputedValueField`
- `@ArangoComputedValue`

This behavior can be changed by overriding `ArangoConfiguration#returnOriginalEntities()`,
which by default returns `true`. An example of returning new entity instances from
`ArangoRepository#save(Object)` and `ArangoRepository#saveAll(Iterable<Object>)`:
which by default returns `true`. For example:

```java
@Configuration
Expand Down

0 comments on commit cb84e3c

Please sign in to comment.