yesamer opened a new issue, #1019:
URL: https://github.com/apache/incubator-kie-issues/issues/1019

   It is not possible to set constraints for custom types
   
   
![Unknown-3](https://github.com/apache/incubator-kie-issues/assets/16005046/6ecfab56-bafb-4607-8e83-e5be2cae5428)
   
   
![Unknown-4](https://github.com/apache/incubator-kie-issues/assets/16005046/0aa99cd3-f7b2-4df7-b9ad-0c55f8ea4b34)
   
   
![Unknown-5](https://github.com/apache/incubator-kie-issues/assets/16005046/fd025b11-04a4-4c56-89e9-68afa2198845)
   
   Both allowedValues and typeConstraint refers to the base type. So, a custom 
type seems allowed to define such constraints, that will be applied to the base 
type. 
   
   This would make sense because:
   
   a custom type “A” extend a base type “string” (e.g.)
   
   both custom type “B” and “C” extends “A”, but they could have different 
constraints


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to