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

1295: Exclude 'ARRAY' property type from the property list because it… #2502

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1295: Exclude 'ARRAY' property type from the property list because it…
… breaks entity generator

Added a conditional check to skip the 'ARRAY' property type when populating the property list. This ensures that unwanted types are filtered out, improving functionality and data accuracy.
VitaliyBoyko committed Feb 25, 2025
commit ffdb06ca3661a3c4ad7da003f2f19fa65e3eac1e
Original file line number Diff line number Diff line change
@@ -81,7 +81,9 @@ public static List<String> getPropertyTypesList() {
final List<String> propertyList = new LinkedList<>();

for (final PropertiesTypes property : PropertiesTypes.values()) {
propertyList.add(property.getPropertyType());
if (!property.getPropertyType().equals(ARRAY.getPropertyType())) {
propertyList.add(property.getPropertyType());
}
}

return propertyList;