Jump to content

Changelogs on the modFiles endpoint are not showing the correct data


Recommended Posts

  • Community Manager

  

Summary

When fetching changelogs associated with a new file, the result is incorrect. 



Steps to reproduce

Use the query below:

    query ModFiles {
        modFiles(modId: 32268, gameId: 1303){
            uid
            fileId
            name
            version
            changelogText
        }
    }

Get the result

Spoiler
{
    "data": {
        "modFiles": [
            {
                "uid": "5596342513792",
                "fileId": 127104,
                "name": "redBackgroundStardew",
                "version": "1.0",
                "changelogText": [
                    "#<ModChangelog:0x00007f98c24447f8>"
                ]
            },
            {
                "uid": "5596342513797",
                "fileId": 127109,
                "name": "greenBackgroundStardew",
                "version": "1.1",
                "changelogText": []
            },
            {
                "uid": "5596342513799",
                "fileId": 127111,
                "name": "backToRedBackgroundStardew",
                "version": "1.2",
                "changelogText": []
            },
            {
                "uid": "5596342513800",
                "fileId": 127112,
                "name": "Background colour change",
                "version": "1.3",
                "changelogText": []
            },
            {
                "uid": "5596342513801",
                "fileId": 127113,
                "name": "Background colour change",
                "version": "1.4",
                "changelogText": []
            },
            {
                "uid": "5596342513809",
                "fileId": 127121,
                "name": "Background colour change",
                "version": "1.5",
                "changelogText": []
            },
            {
                "uid": "5596342513810",
                "fileId": 127122,
                "name": "Background colour change",
                "version": "1.6",
                "changelogText": []
            },
            {
                "uid": "5596342513861",
                "fileId": 127173,
                "name": "Background colour change",
                "version": "1.7",
                "changelogText": []
            }
        ]
    }
}

 

Note that the response shows the changelog text as "#<ModChangelog:0x00007f98c24447f8>"

Expected Behaviour

The correct text is returned.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...