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

[⚙️compiler] introduce InputFile #5582

Merged
merged 1 commit into from Jan 30, 2024
Merged

Conversation

martinbonnin
Copy link
Contributor

Our packageNamesFromFilePaths() require the normalized path (as in PathSensitivy.RELATIVE normalization) in order to compute the package name.

I tried working around this for a while but I came to the conclusion that the proper solution is to make the normalized path a proper input to the compiler. Users that don't need to support packageNamesFromFilePaths() (like tests) can always use files.toInputFiles() to get a list of input files with empty normalized paths.

@martinbonnin martinbonnin marked this pull request as ready for review January 29, 2024 18:10
Copy link
Contributor

@BoD BoD left a comment

Choose a reason for hiding this comment

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

🐘

@martinbonnin martinbonnin force-pushed the 04-deprecate-schemaFile-and-sourceFolder branch from 06f1d14 to d4e9944 Compare January 30, 2024 10:00
@martinbonnin martinbonnin requested a review from a team as a code owner January 30, 2024 10:00
Base automatically changed from 04-deprecate-schemaFile-and-sourceFolder to main January 30, 2024 10:04
Copy link

netlify bot commented Jan 30, 2024

Deploy Preview for apollo-android-docs canceled.

Name Link
🔨 Latest commit bc31dfb
🔍 Latest deploy log https://app.netlify.com/sites/apollo-android-docs/deploys/65b8c9cbb199c20008c6122a

@martinbonnin martinbonnin merged commit 8c1eb63 into main Jan 30, 2024
9 checks passed
@martinbonnin martinbonnin deleted the 05-no-absolute-path-in-ir branch January 30, 2024 10:49
martinbonnin added a commit that referenced this pull request Feb 5, 2024
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.

None yet

2 participants