Skip to content

Conversation

@BlumMichael
Copy link
Contributor

Adjust job_template_locale api endpoint-docs, since id is now a nullable field.

See:

@BlumMichael BlumMichael requested a review from a team January 29, 2025 14:25
Comment on lines +3282 to +3284
"type": "string",
"nullable": true,
"description": "The ID of the job template locale. Will return `null` if the related `job_template` is global."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue: If I'm not mistaken, we need to change the locale_preview schema so it can also just show the fields name and code. That would be in line 1433. But maybe it's better to create a new schema because the field id won't be showing at all.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, I'd vote for a separate schema

properties:
id:
type: string
nullable: true
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hm is this also nullable, this is not a locale id, but the id of the "relationship" resource?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants