Skip to content

0.38.0 Breaking changes

N1XUS edited this page Dec 11, 2022 · 1 revision

Angular version #8479

  • Starting version 0.38.0 @fundamental-ngx library uses @angular version 15 and above.
  • Build target is now ES2022
  • RouterLinkWithHref is now deprecated and removed from @fundamental-ngx/core/link.
  • Value help dialog data provider generic type should be extended from object.

Before:

class ExampleVhdDataProvider<T> extends VhdDataProvider<T> {
    fetch(params: Map<string, string>): Observable<T[]> {
        return super.fetch(params).pipe(delay(300));
    }
}

Now:

class ExampleVhdDataProvider<T extends object> extends VhdDataProvider<T> {
    fetch(params: Map<string, string>): Observable<T[]> {
        return super.fetch(params).pipe(delay(300));
    }
}
Clone this wiki locally