Skip to content

Can't get basic example to work #215

@altwohill

Description

@altwohill

Hi all,

I've been unsuccessful in getting the most basic example of version history working.
I followed the guide here https://docs.silverstripe.org/en/4/developer_guides/model/versioning/#versioning

However I noted that in the POST requests to the graphql endpoint it complained that there wasn't a field called "Version" etc - it appears that things have changed from PascalCase to camelCase.

I've fixed that, and now don't get any errors. Aaaand I don't get anything showing in the history tab.

Here are the files I've added from a fresh composer create-project silverstripe/installer

https://gist.github.com/altwohill/8ae8dbe15095e95ecb1d0a626d162a6f

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions