valum-framework / valum

Web micro-framework written in Vala
https://valum-framework.readthedocs.io/en/latest/
GNU Lesser General Public License v3.0
226 stars 23 forks source link

Use GObject type system for rule parameters #120

Closed arteymix closed 9 years ago

arteymix commented 9 years ago

Currently, these parameters are matched using regular expressions and represented by strings.

A parameter could be represented by a regular expression that matches its representation and a function that extract the appropriate and typed Value.

It would break the existing code, unless a Value can have both a string and the desired representation.

Relevant functions:

arteymix commented 9 years ago

This issue will be addressed with #111 by providing a better integration for the GObject type system.