Add a new query-parameters module

The query parameters feed in to the results shown, but also forms on
pages. Validation is important to avoid errors and security issues, but it's
also important to provide appropriate feedback to the user.

This module provides some utilities and structure around handling query
parameters.
This commit is contained in:
Christopher Baines 2019-05-11 16:44:17 +01:00
parent b29178ff14
commit f2e123b7ac
4 changed files with 102 additions and 10 deletions

View file

@ -38,6 +38,7 @@
#:use-module (guix-data-service model build)
#:use-module (guix-data-service jobs load-new-guix-revision)
#:use-module (guix-data-service web render)
#:use-module (guix-data-service web query-parameters)
#:use-module (guix-data-service web util)
#:use-module (guix-data-service web view html)
#:export (controller))