QuestionSpec

com.softinio.verdict4s.algebra.QuestionSpec
See theQuestionSpec companion enum
object QuestionSpec

The wire encoding of a question.

Attributes

Companion
enum
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Givens

Givens

Hand-written rather than derived, because three details matter and a generic derivation gets all three wrong:

Hand-written rather than derived, because three details matter and a generic derivation gets all three wrong:

  • an absent Noul criteria means the key is absent, never null
  • a Choice rubric of null is meaningful and must be emitted as an explicit null value under its key, so dropNullValues is wrong
  • key order is deterministic, which is what makes the golden tests stable and identical on the JVM and on Node

Attributes