UNPKG
@giraphql/plugin-dataloader
Version:
latest (2.20.0)
preview (0.0.0-preview-202181322430)
2.20.0
2.19.3
2.19.2
2.19.1
2.19.0
2.18.0
2.17.0
2.16.1
2.16.0
2.15.0
2.14.1
2.14.0
2.13.0
2.12.0
2.11.0
2.9.2
2.9.1
2.9.0
2.8.1
2.8.0
2.7.1-alpha.0
2.7.0
2.6.0
2.6.0-alpha.0
2.5.6
2.5.6-alpha.0
2.5.5
2.5.4
2.5.4-alpha.1
2.5.4-alpha.0
2.5.3
2.5.2
2.5.1
2.5.0
2.5.0-alpha.1
2.5.0-alpha.0
2.4.0
2.3.0
2.3.0-alpha.0
2.2.4
2.2.4-alpha.2
2.2.4-alpha.1
2.2.4-alpha.0
2.2.3
2.2.2
2.2.1
2.2.0
2.1.3
2.1.2
2.1.1
2.1.0
2.0.0
2.0.0-alpha.2
2.0.0-alpha.1
0.0.0-preview-202181322430
0.0.0-preview-202179204139
0.0.0-preview-202178194614
0.0.0-preview-202178184810
0.0.0-preview-202178182932
0.0.0-preview-20217753333
0.0.0-preview-20217752147
0.0.0-preview-202177065
0.0.0-preview-20217701452
A GiraphQL plugin for attaching dataloader to object types
@giraphql/plugin-dataloader
/
esm
/
refs
/
interface.js
9 lines
(8 loc)
•
254 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
import
{
InterfaceRef
}
from
'@giraphql/core'
;
export
class
LoadableInterfaceRef
extends
InterfaceRef
{
constructor
(
name, getDataloader
) {
super
(name);
this
.
getDataloader
= getDataloader; } }
//# sourceMappingURL=interface.js.map