alisha-1000 commented on issue #240: URL: https://github.com/apache/streampipes/issues/240#issuecomment-3846057735
Hi @dominikriemer, I came across this issue and would be interested in working on it. From my understanding, the goal is to allow developers to define a regex on FreeTextStaticProperty (and similar properties like secrets), so that user input can be validated early in the UI (pipeline editor / connect) instead of failing later at runtime with SpRuntimeExceptions. Before starting, I’d like to clarify a few design aspects: Should the regex validation be UI-only, or should it also be enforced on the backend as a safeguard? Is the intention to extend the existing FreeTextStaticProperty model with an optional regex field, or introduce a more generic validation mechanism for text-based properties? How should validation feedback be presented in the UI (inline error, disabled save/next button, tooltip, etc.)? Once the expected behavior is clear, I’m happy to propose an implementation and open a PR covering both the model changes and UI validation. Thanks! -- 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]
