From 533fd75501cb2a90b69fb78e3fdffbdfe5b5256e Mon Sep 17 00:00:00 2001 From: Kyle Shockey Date: Mon, 6 Nov 2017 21:53:57 -0800 Subject: [PATCH] Deprecate authSelectors.getDefinitionsByNames --- src/core/plugins/auth/selectors.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/plugins/auth/selectors.js b/src/core/plugins/auth/selectors.js index 9a91d3c1..a8bd0ce1 100644 --- a/src/core/plugins/auth/selectors.js +++ b/src/core/plugins/auth/selectors.js @@ -28,6 +28,7 @@ export const definitionsToAuthorize = createSelector( export const getDefinitionsByNames = ( state, securities ) => ( { specSelectors } ) => { + console.warn("WARNING: getDefinitionsByNames is deprecated and will be removed in the next major version.") let securityDefinitions = specSelectors.securityDefinitions() let result = List()