github-datasource icon indicating copy to clipboard operation
github-datasource copied to clipboard

Fix deprecation warnings

Open zoltanbedi opened this issue 1 year ago • 0 comments

  • [ ] src/DataSource.ts

    • [ ] deprecation/deprecation: 'toPromise' is deprecated. Replaced with {@link firstValueFrom } and {@link lastValueFrom }. Will be removed in v8. Details: https://rxjs.dev/deprecations/to-promise at line 67, column 41
    • [ ] deprecation/deprecation: 'toPromise' is deprecated. Replaced with {@link firstValueFrom } and {@link lastValueFrom }. Will be removed in v8. Details: https://rxjs.dev/deprecations/to-promise at line 96, column 45
    • [ ] deprecation/deprecation: 'toPromise' is deprecated. Replaced with {@link firstValueFrom } and {@link lastValueFrom }. Will be removed in v8. Details: https://rxjs.dev/deprecations/to-promise at line 116, column 45
  • [ ] src/common/annotationsFromDataFrame.ts

    • [ ] deprecation/deprecation: 'get' is deprecated. Use [idx]. This only exists to help migrate Vector to Array at line 120, column 30
  • [ ] src/module.ts

    • [ ] deprecation/deprecation: 'setVariableQueryEditor' is deprecated. -- prefer using {@link StandardVariableSupport} or {@link CustomVariableSupport} or {@link DataSourceVariableSupport} in data source instead at line 15, column 4
  • [ ] src/types.ts

    • [ ] deprecation/deprecation: 'DataQuery' is deprecated. use the type from at line 136, column 49

zoltanbedi avatar Jun 18 '24 21:06 zoltanbedi