[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/hck 4778 hackolade assignment examples are always genera #68

Conversation

serhii-filonenko
Copy link
Contributor
  • changed example field property type to dynamicField for handle input value accordingly to field type
  • splitted example config by db version dependency
  • added correction for sample value according schema type

@serhii-filonenko serhii-filonenko self-assigned this Mar 15, 2024
@@ -346,9 +346,45 @@ function getDiscriminator(discriminator) {
};
}

function correctType(value, type) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I would rename it to something like parseExampleValueByDataType to make it not look like it's related to the schema types handled in this file.
Also, it's better to place it in another file, you may create a new one if required, exampleDataHelper or smth like this.

@taras-dubyk taras-dubyk added this pull request to the merge queue Mar 20, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 20, 2024
@taras-dubyk taras-dubyk added this pull request to the merge queue Mar 20, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 20, 2024
@taras-dubyk taras-dubyk added this pull request to the merge queue Mar 21, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 21, 2024
@taras-dubyk taras-dubyk added this pull request to the merge queue Mar 21, 2024
Merged via the queue into master with commit 24419be Mar 21, 2024
2 checks passed
@taras-dubyk taras-dubyk deleted the Fix/HCK-4778--hackolade-assignment-examples-are-always-genera branch March 21, 2024 11:01
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.

None yet

2 participants