Skip to content

associated fields with an alias name inside a nested schema #14

@github-actions

Description

@github-actions

somehow breaks! Should be looked in to?

Workaround: set `recursive: 0` on the root schema field

console.log('Alias:', alias, 'config:', config, this.schema);

// @TODO: associated fields with an alias name inside a nested schema

		config = this.schema.associations[alias];
	}

	// @TODO: associated fields with an alias name inside a nested schema
	// somehow breaks! Should be looked in to?
	// Workaround: set `recursive: 0` on the root schema field
	// console.log('Alias:', alias, 'config:', config, this.schema);

	if (config) {
		result = this.getModel(config.modelName);
	} else {

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions