-
Notifications
You must be signed in to change notification settings - Fork 0
feat(rsi-paints-import): load and map paints data from the RSI Pledge Store #37
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
base: main
Are you sure you want to change the base?
Conversation
| end | ||
|
|
||
| defp graphql_endpoint do | ||
| "https://robertsspaceindustries.com/graphql" |
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.
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"} |
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.
needs an update to the nix/mix.nix file to not break nix builds.
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.
is there a task to regenerate the mix.nix?
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.
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, |
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.
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
Shop Data gets loaded via GraphQL and mapped againts current models in the DB. Result is filtered for Paint Packs and not resolved models.