mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-19 16:06:32 +02:00
26 lines
1.1 KiB
Markdown
26 lines
1.1 KiB
Markdown
|
---
|
||
|
title: Working with generic types
|
||
|
summary: Break away from the magic of DataObject models and build types and queries from scratch.
|
||
|
---
|
||
|
|
||
|
In this section of the documentation, we cover the fundamentals that are behind a lot of the magic that goes
|
||
|
into making DataObject types work. We'll create some types that are not based on DataObjects at all, and we'll
|
||
|
write some custom queries from the ground up.
|
||
|
|
||
|
[info]
|
||
|
Just because we won't be using DataObjects in this example doesn't mean you can't do it. You will lose a lot
|
||
|
of the benefits of the DataObject model, but this lower level API may suit your needs for really specific use
|
||
|
cases.
|
||
|
[/info]
|
||
|
|
||
|
|
||
|
[CHILDREN]
|
||
|
|
||
|
[alert]
|
||
|
You are viewing docs for a pre-release version of silverstripe/graphql (4.x).
|
||
|
Help us improve it by joining #graphql on the [Community Slack](https://www.silverstripe.org/blog/community-slack-channel/),
|
||
|
and report any issues at [github.com/silverstripe/silverstripe-graphql](https://github.com/silverstripe/silverstripe-graphql).
|
||
|
Docs for the current stable version (3.x) can be found
|
||
|
[here](https://github.com/silverstripe/silverstripe-graphql/tree/3)
|
||
|
[/alert]
|