# Handling Relations to Collections
Currently, API Platform Admin doesn't handle `to-many` relations. The core library [is being patched](https://github.com/api-platform/core/pull/1189)
to document relations to collections through OWL.
Meanwhile, it is possible to manually configure API Platform to handle relations to collections.
We will create the admin for an API exposing `Person` and `Book` resources linked with a `many-to-many`
relation between them (through the `authors` property).
This API can be created using the following PHP code:
```php
authors = new ArrayCollection();
}
}
```
Let's customize the components used for the `authors` property:
```javascript
import React, { Component } from 'react';
import { ReferenceArrayField, SingleFieldList, ChipField, ReferenceArrayInput, SelectArrayInput } from 'react-admin';
import { AdminBuilder, hydraClient } from '@api-platform/admin';
import parseHydraDocumentation from 'api-doc-parser/lib/hydra/parseHydraDocumentation';
const entrypoint = 'https://demo.api-platform.com';
export default class extends Component {
state = {api: null, resources: null};
componentDidMount() {
parseHydraDocumentation(entrypoint).then({api, resources} => {
const books = r.find(r => 'books' === r.name);
// Set the field in the list and the show views
books.readableFields.find(f => 'authors' === f.name).fieldComponent =