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

"Cannot compute column name for composite field metadata type" error #6033

Closed
ijreilly opened this issue Jun 26, 2024 · 1 comment · Fixed by #6320
Closed

"Cannot compute column name for composite field metadata type" error #6033

ijreilly opened this issue Jun 26, 2024 · 1 comment · Fixed by #6320
Assignees

Comments

Copy link
Contributor

greptile-apps bot commented Jun 26, 2024

To resolve the 'Cannot compute column name for composite field metadata type' error, update the computeColumnName function in compute-column-name.util.ts to correctly handle composite field metadata types. Ensure that the function includes logic to process these types appropriately. Example:

function computeColumnName(fieldMetadata: FieldMetadata): string {
  if (fieldMetadata.type === 'composite') {
    // Add logic to handle composite field metadata types
    return `${fieldMetadata.parent}.${fieldMetadata.name}`;
  }
  // Existing logic for other types
}

References

Edit Issue Bot Settings

@ijreilly ijreilly self-assigned this Jul 1, 2024
@ijreilly ijreilly moved this from 🆕 New to 🔖 Planned in Product development ✅ Jul 1, 2024
@ijreilly ijreilly moved this from 🔖 Planned to 🏗 In progress in Product development ✅ Jul 18, 2024
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in Product development ✅ Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant