We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When registering interface implementations
const client = new Web3ApiClient({ interfaces: [ { uri: "uri1", implementations: [ "impl1" ] } ] });
The expected behavior is to have the default implementations for that interface be added to the implementations array
client.getInterfaces(); /* [ { uri: "uri1", implementations: [ "impl1" , "default1"] } ] */
The actual behavior is that the interface implementations pair is added.
client.getInterfaces(); /* [ { uri: "uri1", implementations: [ "impl1" , "default1"] }, { uri: "uri1", implementations: [ "default1"] } ] */
Additionally, if the developer registers multiple interface implementations pairs for the same interface. They should be merged together:
const client = new Web3ApiClient({ interfaces: [ { uri: "uri1", implementations: [ "impl1" ] }, { uri: "uri1", implementations: [ "impl2" ] } ] }); client.getInterfaces(); /* [ { uri: "uri1", implementations: [ "impl1" , "impl2"] } ] */
The text was updated successfully, but these errors were encountered:
Fixed in #766
Sorry, something went wrong.
nerfZael
No branches or pull requests
When registering interface implementations
The expected behavior is to have the default implementations for that interface be added to the implementations array
The actual behavior is that the interface implementations pair is added.
Additionally, if the developer registers multiple interface implementations pairs for the same interface. They should be merged together:
The text was updated successfully, but these errors were encountered: