You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2019/05/14 14:36:21 UTC
[isis] 02/05: ISIS-2118: no need for ImmutableFacet on
properties/collections
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git
commit 662f906b5b5c64cea7f16081958aa0e9a166a747
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Tue May 14 15:30:33 2019 +0100
ISIS-2118: no need for ImmutableFacet on properties/collections
since we have a DerivedFacet instead
---
.../metamodel/postprocessors/param/DeriveFacetsPostProcessor.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/metamodel/src/main/java/org/apache/isis/core/metamodel/postprocessors/param/DeriveFacetsPostProcessor.java b/core/metamodel/src/main/java/org/apache/isis/core/metamodel/postprocessors/param/DeriveFacetsPostProcessor.java
index a7808b4..fb18485 100644
--- a/core/metamodel/src/main/java/org/apache/isis/core/metamodel/postprocessors/param/DeriveFacetsPostProcessor.java
+++ b/core/metamodel/src/main/java/org/apache/isis/core/metamodel/postprocessors/param/DeriveFacetsPostProcessor.java
@@ -173,7 +173,7 @@ public class DeriveFacetsPostProcessor implements ObjectSpecificationPostProcess
derivePropertyTypicalLengthFromType(property);
derivePropertyOrCollectionDescribedAsFromType(property);
derivePropertyDisabledFromViewModel(property);
- derivePropertyOrCollectionImmutableFromSpec(property);
+ //derivePropertyOrCollectionImmutableFromSpec(property);
derivePropertyDisabledFromImmutable(property);
tweakPropertyMixinDomainEvent(objectSpecification, property);
}
@@ -184,7 +184,7 @@ public class DeriveFacetsPostProcessor implements ObjectSpecificationPostProcess
derivePropertyOrCollectionDescribedAsFromType(collection);
deriveCollectionDisabledFromViewModel(collection);
- derivePropertyOrCollectionImmutableFromSpec(collection);
+ //derivePropertyOrCollectionImmutableFromSpec(collection);
deriveCollectionDisabledFromImmutable(collection);
// ... see if any of its actions has a collection parameter of the same type