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

Open
ijreilly opened this issue Jun 26, 2024 · 1 comment
Open

Comments

Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant