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

Ignore and warn about unsupported header fields #347

Merged
merged 4 commits into from
Apr 12, 2018

Conversation

aadsm
Copy link
Contributor

@aadsm aadsm commented Dec 22, 2017

Unsupported header fields might mess up the creation of metadata.js (e.g.: next).
Skip unknown header fields and log a warn about them.

I believe these are all the supported fields at the moment?

Unsupported header fields might mess up the creation of metadata.js (e.g.: next).
Skip unknown header fields and log a warn about them.
@yangshun
Copy link
Contributor

Hey @aadsm sorry that your PR was left hanging for so long. This looks like a really useful feature. Could you rebase on master and update your PR? Would be very keen to merge this! 👍

@JoelMarcey
Copy link
Contributor

@yangshun At one point I was thinking about a different design for this, but I have forgotten how I was going to handle it. And then I let it languish.

Seeing how the "Squash and Merge" button is still enabled, it may not need a full rebase, just some prettier updates I think.

Copy link
Contributor

@JoelMarcey JoelMarcey left a comment

Choose a reason for hiding this comment

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

This is good. Merging. Thanks @aadsm!

@JoelMarcey JoelMarcey merged commit ad5b8b9 into facebook:master Apr 12, 2018
@vjeux
Copy link
Contributor

vjeux commented Apr 20, 2018

I added support for layout in #128 which now warns :(

vjeux added a commit that referenced this pull request Apr 20, 2018
#347 added support for warning for unknown fields but didn't take into account `layout` which was added by #128
yangshun pushed a commit that referenced this pull request Apr 20, 2018
#347 added support for warning for unknown fields but didn't take into account `layout` which was added by #128
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants