Swiftpack.co - Package - nodes-vapor/forms

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

Github

link
Stars: 4
Help us keep the lights on

Releases

0.7.2 - Oct 30, 2018

Changed

  • Renamed a single file so no files includes spaces in their filenames. This is required for Swift 4.2 on Linux.

0.7.1 - Aug 20, 2018

Added

  • Brought back FieldsetRepresentable for more flexibility.

0.7.0 - Mar 15, 2018

Added

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

Changed

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

Removed

  • FieldsetRepresentable protocol

0.6.1 - Mar 9, 2018

Changed

  • 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

Added

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

Changed

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

Removed

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