-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created the ability to support namespaced queries.
This was needed incase the user put the queries in a subfolder. It will pull the last class name off and use that as the query name. So Queries::MyModule::Profile will expect the datocms model to be named "Profile". Same with the rails intergation, the model will still be "Profile" none of the other stuff matters at this time. Also ran into an issue in Bridgetown where the classes were being re-created over and over again. I put in a unique clause into the search for query names so that it would clear things up. Just realized that this may cause a problem.... Investigating now.
- Loading branch information
Showing
3 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
module DatoCmsGraphql | ||
VERSION = "0.2.1" | ||
VERSION = "0.2.2" | ||
end |