feat(rsi-paints-import): load and map paints data from the RSI Pledge Store#37
Draft
feat(rsi-paints-import): load and map paints data from the RSI Pledge Store#37
Conversation
kloenk
approved these changes
Jan 25, 2023
| end | ||
|
|
||
| defp graphql_endpoint do | ||
| "https://robertsspaceindustries.com/graphql" |
Member
There was a problem hiding this comment.
This could be a config option. either directly the full URI, or host as one option (probably global) and path as second option
| [ | ||
| {:ex_fleet_yards, in_umbrella: true} | ||
| {:ex_fleet_yards, in_umbrella: true}, | ||
| {:neuron, "~> 5.0.0"} |
Member
There was a problem hiding this comment.
needs an update to the nix/mix.nix file to not break nix builds.
Member
Author
There was a problem hiding this comment.
is there a task to regenerate the mix.nix?
Member
There was a problem hiding this comment.
there is a task, but currently seems broken, mix2nix > nix/mix.nix is how I generated it (having mix2nix installed via the devenv)
| end | ||
|
|
||
| defp load_models(name, mapping) do | ||
| from(m in Game.Model, |
Member
There was a problem hiding this comment.
Could be moved to ExFleetYards.Repo.Game.Model as function there, but also fine here.
002dd28 to
fb123ae
Compare
Shop Data gets loaded via GraphQL and mapped againts current models in the DB. Result is filtered for Paint Packs and not resolved models.
fb123ae to
3e7e0a4
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Shop Data gets loaded via GraphQL and mapped againts current models in the DB. Result is filtered for Paint Packs and not resolved models.