feat: Modify reports output model + update spec
2 unresolved threads
2 unresolved threads
Related to #81 (closed)
Edited by Zachary Sabourin
Merge request reports
Activity
Filter activity
added 3 commits
-
0fd94a34...127895b9 - 2 commits from branch
eclipsefdn/it/api:master
- e325f641 - Merge branch 'master' into 'zacharysabourin/master/81'
-
0fd94a34...127895b9 - 2 commits from branch
requested review from @malowe
50 */ 51 @ObjectFactory 52 default <E extends BareNode> E lookup(String id, @Context PersistenceDao repo, @TargetType Class<E> targetType) { 53 E entity = repo.getReference(id, targetType); 54 if (entity == null) { 55 try { 56 entity = targetType.getConstructor().newInstance(); 57 } catch (Exception e) { 58 throw new IllegalStateException("Could not access no-param constructor of entity type", e); 59 } 60 } 61 return entity; 62 } 63 64 @MapperConfig(componentModel = "cdi") 65 public static interface QuarkusMappingConfig { changed this line in version 3 of the diff
37 38 /** 39 * Used for generic BareNode lookups. This assumes that the string in the 40 * inverse is the key of the field. This will 41 * be used in a lookup of a reference of the object to be used in the DTO mapped 42 * object. 43 * 44 * @param <E> the BareNode actual type 45 * @param id the string ID of the object to lookup 46 * @param repo the passed repo context to be used for reference lookups 47 * @param targetType the injected class type reference 48 * @return a reference to the target entity if it exists, or a new object to be 49 * persisted. 50 */ 51 @ObjectFactory 52 default <E extends BareNode> E lookup(String id, @Context PersistenceDao repo, @TargetType Class<E> targetType) { mentioned in issue eclipsefdn-api-common#32 (closed)
added 1 commit
- 2d4c6c08 - feat: point to persistence QuarkusMappingConfig
added 5 commits
-
2d4c6c08...2c75727e - 4 commits from branch
eclipsefdn/it/api:master
- 74b6edbf - Merge branch 'master' into 'zacharysabourin/master/81'
-
2d4c6c08...2c75727e - 4 commits from branch
mentioned in commit 68609ffb
Please register or sign in to reply