Skip to content

Port HttpClient v0 - v4 to F##3246

Merged
pbiggar merged 79 commits into
darklang:mainfrom
StachuDotNet:fsharp-port/legacy-http-clients
Feb 23, 2022
Merged

Port HttpClient v0 - v4 to F##3246
pbiggar merged 79 commits into
darklang:mainfrom
StachuDotNet:fsharp-port/legacy-http-clients

Conversation

@StachuDotNet
Copy link
Copy Markdown
Member

@StachuDotNet StachuDotNet commented Nov 21, 2021

Relates to #3242. WIP.
The legacy HttpClient versions (v0 - v4) need to be ported to F# for the great F# migration.

@StachuDotNet
Copy link
Copy Markdown
Member Author

@pbiggar I'm seeing a number of HttpClient fns (both v5 and legacy) whose sqlSpecs are NotYetImplementedTODO. I would expect them to be NotQueryable. Should I go ahead and update to NotQueryable or am I mistaken?

@pbiggar
Copy link
Copy Markdown
Member

pbiggar commented Nov 22, 2021

@pbiggar I'm seeing a number of HttpClient fns (both v5 and legacy) whose sqlSpecs are NotYetImplementedTODO. I would expect them to be NotQueryable. Should I go ahead and update to NotQueryable or am I mistaken?

Yes, you can make them NotQueryable, thanks!

@pbiggar pbiggar linked an issue Nov 25, 2021 that may be closed by this pull request
@StachuDotNet StachuDotNet force-pushed the fsharp-port/legacy-http-clients branch from e88ed86 to e5401cf Compare December 20, 2021 18:03
Comment thread fsharp-backend/src/BackendOnlyStdLib/LibHttpClient5.fs Outdated
@StachuDotNet StachuDotNet force-pushed the fsharp-port/legacy-http-clients branch from 898d29e to d8f04bc Compare January 28, 2022 23:10
@StachuDotNet
Copy link
Copy Markdown
Member Author

This branch has now been caught up with latest on main, and commit history is a bit cleaner.

At this point, there are some remaining TODOs:

  • there are a number of _-disabled tests in the various httpclienttestfiles/vX folder
  • tests involving fuzzers should be added, to find and resolve any other outstanding differences between the OCaml and F# implementations

@StachuDotNet StachuDotNet marked this pull request as ready for review January 28, 2022 23:14
@StachuDotNet
Copy link
Copy Markdown
Member Author

Additionally, it seems that CI won't run for my branch. Is that expected @pbiggar?

@pbiggar
Copy link
Copy Markdown
Member

pbiggar commented Jan 30, 2022

I don't remember what circle does with forks but I'll take a look. Obviously we should make it run

@pbiggar pbiggar force-pushed the fsharp-port/legacy-http-clients branch from f05126e to df1b174 Compare February 22, 2022 20:53
Comment thread fsharp-backend/src/BackendOnlyStdLib/LegacyBaseHttpClient.fs Outdated
@pbiggar pbiggar merged commit db1b6df into darklang:main Feb 23, 2022
@StachuDotNet StachuDotNet deleted the fsharp-port/legacy-http-clients branch August 24, 2022 11:55
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.

HttpClient v0 - v4

2 participants