Problem/Motivation

The BigInt module has not defined any config schema. This becomes especially apparent when you attempt to enable BigInt in a Kernel test, where it's a dependency of a module you're trying to test. If you attempt to create a bigint field in the Kernel test you get the following error:

Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for field.storage.media.field_pinned_ids with the following errors: field.storage.media.field_pinned_ids:settings.unsigned missing schema, field.storage.media.field_pinned_ids:settings.size missing schema

Proposed resolution

Provide a config schema defining the field storage and field settings.

Remaining tasks

Create a patch.

User interface changes

None.

API changes

None.

Data model changes

The config created when you define a bigint field will be properly typed! Horay!

Release notes snippet

Defines the schema for the config provided by this module.

CommentFileSizeAuthor
#2 define_config_schema-3089557-2.patch552 bytesm4olivei

Comments

m4olivei created an issue. See original summary.

m4olivei’s picture

Status: Active » Needs review
StatusFileSize
new552 bytes

Patch attached.

m4olivei’s picture

Title: Missing schema » Missing config schema
m4olivei’s picture

Assigned: m4olivei » Unassigned

alansaviolobo’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.