• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

justin-millman / Kvasir / 5482488517
98%

Build:
DEFAULT BRANCH: master
Ran 07 Jul 2023 03:36AM UTC
Jobs 2
Files 95
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
5482488517

push

github

justin-millman
Translation of Enumeration-Type Fields

This commit adds support for translation of enumeration-type Fields. For the most part, this translation is the same as
translating a scalar: names, nullability, and default values are processed the same way. The biggest difference is that
enumeration-type Fields have an implicitly restricted image that is not recognized as a constraint, but instead as a
special property of the EnumField in the Schema Layer. The discreteness constraints can still be applied, but they
operate on the restricted image. Other constraints, aside from IsNot, are inapplicable.

There are also two new annotations that are valid only on enumeration-type Fields: [IsString] and [Numeric]. These
annotations direct the framework to use either the string or underlying numeric representation, respectively, as the
native storage in the back-end database, even if that back-end database has support for enumerations directly. From a
technical perspective, these are equivalent to a DataConverter annotation with a pre-defined converter type.

2594 of 2670 branches covered (97.15%)

Branch coverage included in aggregate %.

2679 of 2702 relevant lines covered (99.15%)

1180.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Release - 5482488517.1 07 Jul 2023 03:36AM UTC 0
98.73
GitHub Action Run
2 Debug - 5482488517.2 07 Jul 2023 03:36AM UTC 0
98.54
GitHub Action Run
Source Files on build 5482488517
Detailed source file information is not available for this build.
  • Back to Repo
  • 483d6768 on github
  • Prev Build on master (#5457605309)
  • Next Build on master (#5803909965)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc