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: handle missing required columns with a nicer error #725

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

mshanemc
Copy link
Contributor

@mshanemc mshanemc commented Feb 9, 2024

I used a dishonset as and it's causing some TypeErrors.

This validates that a given record has the required field, and throws a clear message when it doesn't.

);
}
return nameColumnValue;
};
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this have to be a function that returns a function? Seems like it could just be a function that takes the record and column name and it would be simpler to read.

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.

2 participants