We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29bfad7 commit db13318Copy full SHA for db13318
packages/backend-data/src/factory.ts
@@ -7,6 +7,7 @@ import {
7
ConstructFactory,
8
ConstructFactoryGetInstanceProps,
9
GenerateContainerEntryProps,
10
+ ReferenceAuthResources,
11
ResourceProvider,
12
} from '@aws-amplify/plugin-types';
13
import {
@@ -102,9 +103,9 @@ export class DataFactory implements ConstructFactory<AmplifyData> {
102
103
this.props,
104
buildConstructFactoryProvidedAuthConfig(
105
props.constructContainer
- .getConstructFactory<ResourceProvider<AuthResources>>(
106
- 'AuthResources'
107
- )
+ .getConstructFactory<
+ ResourceProvider<AuthResources | ReferenceAuthResources>
108
+ >('AuthResources')
109
?.getInstance(props)
110
),
111
props,
0 commit comments