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

Warn on invalid config format #19941

Closed
m-allanson opened this issue Dec 4, 2019 · 3 comments
Closed

Warn on invalid config format #19941

m-allanson opened this issue Dec 4, 2019 · 3 comments
Assignees
Labels
type: feature or enhancement Issue that is not a bug and requests the addition of a new feature or enhancement.

Comments

@m-allanson
Copy link
Contributor

Description

Gatsby does not support using functions in its config, but it does not complain if you do. This can result in silent failures that are difficult to debug.

Possibly related PR: #16027

Steps to reproduce

cc @sidharthachatterjee do you have an example that can go here?

Expected result

Gatsby should complain that your config is invalid.

Actual result

Gatsby does not complain, instead unrelated errors appear later in the build process.

Environment

n/a

@github-actions
Copy link

Hiya!

This issue has gone quiet. Spooky quiet. 👻

We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here.
If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open!
As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contribute for more information about opening PRs, triaging issues, and contributing!

Thanks for being a part of the Gatsby community! 💪💜

@github-actions github-actions bot added the stale? Issue that may be closed soon due to the original author not responding any more. label Dec 25, 2019
@github-actions
Copy link

github-actions bot commented Jan 4, 2020

Hey again!

It’s been 30 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it.
Please keep in mind that I’m only a robot, so if I’ve closed this issue in error, I’m HUMAN_EMOTION_SORRY. Please feel free to reopen this issue or create a new one if you need anything else.
As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contribute for more information about opening PRs, triaging issues, and contributing!

Thanks again for being part of the Gatsby community! 💪💜

@github-actions github-actions bot closed this as completed Jan 4, 2020
@wardpeet wardpeet added help wanted Issue with a clear description that the community can help with. not stale and removed stale? Issue that may be closed soon due to the original author not responding any more. labels Jan 6, 2020
@wardpeet wardpeet reopened this Jan 6, 2020
@LekoArts LekoArts self-assigned this Jan 20, 2020
@LekoArts LekoArts removed not stale help wanted Issue with a clear description that the community can help with. labels Jan 22, 2020
@danabrit danabrit added topic: dev tooling type: feature or enhancement Issue that is not a bug and requests the addition of a new feature or enhancement. labels May 31, 2020
@wardpeet
Copy link
Contributor

We're launching a new api soon. It will give proper error messages based on Joi schema.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature or enhancement Issue that is not a bug and requests the addition of a new feature or enhancement.
Projects
None yet
Development

No branches or pull requests

4 participants