Nice to have a flag or system variable to mention in microflows or domain models. - Mendix Forum

Nice to have a flag or system variable to mention in microflows or domain models.

1

Need a stopper or a blocker to stop commit when the flag finds in the code.

Problem: On some Dev or ST level testing in local it might required to set some values default values or few values to hardcode. Once testing done in local while committing code to server it is very easy to forgot or skip the checks for these values.

Solution: We can built some split check if environment localhost or ST can set some values to work on local.

Its also seems good to have a flag (@CheckLocal or DevFlag) constant or system variable available if this true or finds while commiting should stops and warn the user says (Unable to commit please check code these is a flag present which stopping commiting).

Ex: As below

image.png

Feel to ask if any details or clarifications required.

Thank you.

Regards,

Satya Reddy

asked
0 answers