[ 
https://issues.apache.org/jira/browse/CAUSEWAY-3978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andi Huber updated CAUSEWAY-3978:
---------------------------------
    Description: 
IIRC, post-processors are run once the meta-model was initialized. But might 
not run if we 'discover' new facets on the fly during runtime. This is a 
potential source of bugs.

Ideally we can remove post-processors namely all MetaModelPostProcessor 
implementations.

Postprocessors were mainly introduced to solve the problem of Facet instances 
depending on presence or absence of facets of different type being discovered 
earlier in the introspection process. Which I believe can be solved by having 
some strict/guaranteed facet factory ordering.

 

 

 

  was:
IIRC, post-processors are run once the meta-model was initialized. But might 
not run if we 'discover' new facets on the fly during runtime. This is a 
potential source of bugs.

Ideally we can remove post-processors or at least have a more rigorous design 
that guaranties post processing for the 'on the fly' cases. 

 

 

 


> Is it possible to remove facet post-processors, given we have all mixin types 
> in advance.
> -----------------------------------------------------------------------------------------
>
>                 Key: CAUSEWAY-3978
>                 URL: https://issues.apache.org/jira/browse/CAUSEWAY-3978
>             Project: Causeway
>          Issue Type: Question
>          Components: Core
>            Reporter: Andi Huber
>            Assignee: Andi Huber
>            Priority: Minor
>             Fix For: 4.0.0
>
>
> IIRC, post-processors are run once the meta-model was initialized. But might 
> not run if we 'discover' new facets on the fly during runtime. This is a 
> potential source of bugs.
> Ideally we can remove post-processors namely all MetaModelPostProcessor 
> implementations.
> Postprocessors were mainly introduced to solve the problem of Facet instances 
> depending on presence or absence of facets of different type being discovered 
> earlier in the introspection process. Which I believe can be solved by having 
> some strict/guaranteed facet factory ordering.
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to