-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API Block older version module from using this minor #379
API Block older version module from using this minor #379
Conversation
I created fake releases on the creative commoners repo to test this:
I use this composer file to test. {
"name": "maxime/boom",
"type": "project",
"authors": [
{
"name": "Maxime Rainville",
"email": "[email protected]"
}
],
"minimum-stability": "dev",
"require": {
"silverstripe/graphql": "^3.4",
"silverstripe/admin": "~1.7.0"
},
"prefer-stable": true,
"repositories": [
{
"type": "vcs",
"url": "[email protected]:creative-commoners/silverstripe-graphql.git"
}
]
} I've confirmed that changing the |
I'll double check that the modules included the conflict require |
@@ -8,6 +8,12 @@ | |||
"silverstripe/vendor-plugin": "^1.0", | |||
"webonyx/graphql-php": "~0.12.6" | |||
}, | |||
"conflict": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I used the list of dependent module from packagist to determine what should show in here https://packagist.org/packages/silverstripe/graphql/dependents
I only included supported module.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, that list looks wrong. admin
and versioned
shouldn't be here. versioned-admin
should.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Travis failures are unrelated
Version 3.5 of GraphQL expects different cases for some queries. Older version of modules that depend on this module will not work with 3.5.
This PR aims to make this conflict explicit.
Parent issue