Feat/file extension#1130
Feat/file extension#1130JakeDawkins merged 14 commits intoapollographql:masterfrom adrienharnay:feat/file-extension
Conversation
|
This is looking pretty good @adrienharnay! Just a couple things that should help tie it together and make sure it's doing exactly what we want. You'll need to add your flag to the A great way to test your work would be to add a couple tests here, and run |
|
Thank you for your guidance! I will work on this today and ping you when I'm done 🙂 |
|
Thanks for jumping in @trevor-scheer :) |
|
Hey @trevor-scheer sorry for the delay, I have added a description for the flag in the |
|
@adrienharnay sorry for the delay, we're all really busy right now, but we really appreciate your work here! Some of the tests in that file are broken from old migrations, but most of the tests in that file still work. You should be able to duplicate this test with the addition of your flag to test it out. |
|
No worries! Alright thank you, I will follow your instructions 👍 |
|
@JakeDawkins I wrote the test but realized that my new flag doesn't appear in |
|
@adrienharnay I added a couple questions/notes to the PR. I also figured out your problem with not passing the flag, but I can't add a comment to that line since it's further down in the file. In if you add |
|
@JakeDawkins Agreed with every of your comments! I have updated the PR, the tests pass, I have one last error: It seems like my test causes another test to fail 🧐 Edit: forgot to thank you for the fix, thanks! |
|
@JakeDawkins Hey, I was away last week. I still can't understand why writing a file at the default location caused another test to fail... Could you please take a look? |
|
@JakeDawkins Sorry to bother you again, could you take a look when you're available? Thanks :) |
|
@adrienharnay Hey! Sorry, I've been really bad with keeping up with this. I don't really have the time to figure out why the error is happening. It's something to do with the FS setup we're doing, but it looks a little tricky from what I can see. If you add the |
|
@JakeDawkins Hey, no worries about this! Your advice indeed did the trick, and everything is green locally. Some tests seem to fail on the Azure Pipelines though, not really sure what this is about... |
|
Ah, yeah the Azure errors is just an error that randomly appears. It's been around for a few months now 😞 Rerunning usually passes those. As for the |
|
Ooh I stand corrected. It looks like there was more than one Azure error 🤔 |
|
|
|
Is there any progress on this pr? |
|
Hey, I would like to ship this but can't understand why the tests don't pass :( |
|
@adrienharnay so sorry this has been on deck for so long! I can try to get this in ASAP. It looks like the builds in azure were too old, so I can't find them. And triggering them manually isn't seeming to work. Can you push an empty commit |
|
Done 🙂 |
|
@adrienharnay ah, I think I see a problem. When logging out the files in Since we're pulling off the first item in the list of files as Also, I'm not 100% sure why the file is ending up with a |
|
Sorry, one last nitpick @adrienharnay! Can you change the flag to Other than that, I think this can be merged quickly :) |
|
Released with |
|
Ah, sorry I was on bank holliday week-end! Thanks for your help on this feature! |
|
No worries! I had some spare time 😁 |
* feat(apollo typescript): tsFileExtension CLI arg


TODO:
@JakeDawkins Hey, I have done the initial work and started trying to test it but I'm not sure what's the best way to do it, would you have some insights for me? Thanks!
Fixes #1004