Description
Not possible to use HydraAdmin component because it has TS required properties schemaAnalyzer, includeDeprecated, which in reality are optional.
Code example from README won't work because TS throws an error "missing the following properties from type 'Pick ': schemaAnalyzer, includeDeprecated"
import { render } from 'react-dom';
import { HydraAdmin } from '@api-platform/admin';
const Admin = () => <HydraAdmin entrypoint="https://demo.api-platform.com" />; // Replace with your own API entrypoint
render(<Admin />, document.getElementById('root'));
API Platform version(s) affected: 2.8.0
Description
Not possible to use
HydraAdmin
component because it has TS required propertiesschemaAnalyzer, includeDeprecated
, which in reality are optional.Code example from README won't work because TS throws an error "missing the following properties from type 'Pick ': schemaAnalyzer, includeDeprecated"