Skip to content

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

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 {

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions