Swiftpack.co - Package - nodes-vapor/forms


Swift Version Vapor Version Circle CI codebeat badge codecov Readme Score GitHub license

Tools for working with Forms in Vapor.

📦 Installation

Update your Package.swift file.

.Package(url: "https://github.com/nodes-vapor/forms.git", majorVersion: 0, minor: 4)

Getting started 🚀

This package is in its early stage - please come back later for information on how to get started.

🏆 Credits

This package is developed and maintained by the Vapor team at Nodes. The package owner for this project is Siemen.

📄 License

This package is open-sourced software licensed under the MIT license


Stars: 3
Help us keep the lights on


0.7.0 - Mar 15, 2018


  • add option to pass error to throw on nil for allowingNil(false, errorOnNil: MyError.nilValue)
  • public version of makeFieldset on Sequence of FieldsetEntrys


  • validate on Sequence is now defined for Elements conforming to ValidationModeValidatable instead of elements that are ValidationModeValidatable.


  • FieldsetRepresentable protocol

0.6.1 - Mar 9, 2018


  • only the version number. It is an attempt to satisfy CircleCI for building a package that depends on Forms (JWTKeychain)

0.6.0 - Mar 8, 2018


  • "convenience" initializer for ViewData that can be used as follows:
let viewData = ViewData([
    .fieldset: fieldset,
    .request: request,
    "other": "value".


  • validate(inValidationMode:) is defined on Sequence of ValidationModeValidatables instead of Array


  • initializer for ViewData with signature init(fieldset:request:other:) in favor of the one described above.

0.5.1 - Feb 13, 2018

• Convenience to validate elements of an array

0.5.0 - Feb 7, 2018


  • Convenience for handling whether or not to allow nil values when validating.
  • Convenience for transforming errors being thrown in a validator.