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

PackageToWrapperCacheResolver refactor and resolver tests #1586

Merged
merged 48 commits into from
Mar 16, 2023
Merged
Show file tree
Hide file tree
Changes from 43 commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
a0faeac
moved synchronizer to separate directory
nerfZael Feb 25, 2023
9d46ecd
split PackageToWrapperCacheResolver into PackageToWrapperResolver and…
nerfZael Feb 25, 2023
c0897d3
added core client and config builder to dev deps for testing
nerfZael Feb 26, 2023
4a504f8
updated readmes
nerfZael Feb 26, 2023
89ff907
added tests for PackageToWrapperResolver
nerfZael Feb 26, 2023
0b4a5bd
added tests for WrapperCacheResolver
nerfZael Feb 26, 2023
d9468fb
fixed duplicate resolution in tests
nerfZael Feb 26, 2023
18b5684
removed cache uri resolution tests
nerfZael Feb 26, 2023
4a58b91
added RedirectResolver unit tests
nerfZael Feb 26, 2023
070db92
removed unused test case
nerfZael Feb 26, 2023
c5138ab
reverted bad push
nerfZael Feb 27, 2023
0cbe8b0
Revert "reverted bad push"
nerfZael Feb 25, 2023
0a95fa6
PackageResolver tests
nerfZael Feb 27, 2023
a8e6ff8
WrapperResolver tests
nerfZael Feb 27, 2023
e07db2d
fixed WrapperCacheResolver not respecting the final resolved URI
nerfZael Feb 28, 2023
7eb83bd
removed plugin test
nerfZael Feb 28, 2023
5d513ee
removed legacy PackageToWrapperCacheResolver from documentation
nerfZael Feb 28, 2023
03522fa
updated the sanity test case
nerfZael Feb 28, 2023
e914b84
fixed plugin tests
nerfZael Feb 28, 2023
7444006
fixed typos
nerfZael Feb 28, 2023
2a0abec
added tests for RecursiveResolver
nerfZael Feb 28, 2023
917e260
removed resolver extenion tests from client
nerfZael Mar 2, 2023
b4e56d3
added resolver extension tests to uri-resolver-extensions-js
nerfZael Mar 2, 2023
53cac2e
added tests for the whole resolution path caching
nerfZael Mar 2, 2023
051e5d5
added test for infinite recursion
nerfZael Mar 2, 2023
114864a
merged with origin-dev
nerfZael Mar 3, 2023
3742e32
fixes after merge with remote
nerfZael Mar 3, 2023
10b6dba
fixed sanity test case
nerfZael Mar 5, 2023
3779c25
lint fix
nerfZael Mar 5, 2023
cf6626d
fixed not using local paths
nerfZael Mar 7, 2023
1bf2b4c
merged with remote
nerfZael Mar 7, 2023
bf29fab
removed unused helper func
nerfZael Mar 7, 2023
b7dfb8f
removed artifacts after merge
nerfZael Mar 7, 2023
a51e82a
removed extra s
nerfZael Mar 7, 2023
3290191
removed unused uris
nerfZael Mar 7, 2023
b5f48f9
removed merge artifacts
nerfZael Mar 7, 2023
e0c350d
updated deps
nerfZael Mar 7, 2023
01268d5
removed unused comment
nerfZael Mar 14, 2023
7b56c04
added a more verbose comment
nerfZael Mar 14, 2023
670f0f5
naming and comment changes
nerfZael Mar 14, 2023
f6035b1
moved PackageToWrapperResolver to packages dir
nerfZael Mar 14, 2023
9e252c4
fixed casing
nerfZael Mar 14, 2023
7925784
chore: remove fs-resolver-plugin package
dOrgJelli Mar 16, 2023
65c0c5d
merge origin-dev
dOrgJelli Mar 16, 2023
6c7e1bf
chore: fix dependency versions
dOrgJelli Mar 16, 2023
1d16c1d
chore: fix tests
dOrgJelli Mar 16, 2023
6b58408
removed no longer applicable invoke-time custom resolver test
nerfZael Mar 16, 2023
927f57e
fixed wrong import path
nerfZael Mar 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ import {
RecursiveResolver,
StaticResolver,
WrapperCache,
PackageToWrapperCacheResolver,
WrapperCacheResolver,
PackageToWrapperResolver,
RequestSynchronizerResolver,
} from "@polywrap/uri-resolvers-js";
import { ExtendableUriResolver } from "@polywrap/uri-resolver-extensions-js";
Expand Down Expand Up @@ -45,16 +46,16 @@ export class ClientConfigBuilder extends BaseClientConfigBuilder {
resolver ??
RecursiveResolver.from(
RequestSynchronizerResolver.from(
PackageToWrapperCacheResolver.from(
[
WrapperCacheResolver.from(
PackageToWrapperResolver.from([
StaticResolver.from([
...this.buildRedirects(),
...this.buildWrappers(),
...this.buildPackages(),
]),
...this._config.resolvers,
new ExtendableUriResolver(),
],
]),
wrapperCache ?? new WrapperCache()
)
)
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading