Comments (9)
From the snippet you share it seems like your working with Scala, so: val alloyOpenApi = "com.disneystreaming.alloy" %% "alloy-openapi" % AppVersions.alloy
should work.
from alloy.
But that essentially mean that the README is invalid: https://github.com/disneystreaming/alloy#using-alloy
from alloy.
Were you able to pull the dependency?
from alloy.
Hi @daddykotex still seeing the same issue after adding the second "%" using 0.1.4
as the value for AppVersions.alloy
. However don't have any issues when only pulling the alloy core dependency.
from alloy.
@scala-impala what version of the language are you using ?
from alloy.
@Baccata this is with Scala 3.2.0
from alloy.
@scala-impala right, it'd have been good to start there 😄 . And may I ask your use-case ? This module is typically used at build-time with build-tools. Cross compiling between 2.12 and 2.13 lets us support both SBT and mill. We're not necessarily adversed to cross-compiling to more targets, but we'd like for an explanation of the need before we do.
from alloy.
@Baccata I see, thanks, that makes sense now. I don't know a lot about build tools and SBT and as long as it works I don't touch it and don't try to ask too many questions, but will try do so some more effort before opening useless issues :) In any case, I evetually managed to add it like this:
val alloyOpenApi = ("com.disneystreaming.alloy" % "alloy-openapi" % AppVersions.alloy cross CrossVersion.for3Use2_13) .exclude("org.typelevel", "cats-core_2.13") .exclude("org.typelevel", "cats-kernel_2.13") .exclude("org.scala-lang.modules", "scala-collection-compat_2.13")
from alloy.
The issue wasn't useless, I think we should just talk it out to understand why you find yourself stuck with it in the first place :)
The workaround with exclude
may work now, but it's not something I'd recommend long term. Echoing @Baccata's comment, could you share more about your usecase? I feel like you shouldn't need this at runtime.
from alloy.
Related Issues (8)
- Link to constraints and behavioural traits in Readme is broken HOT 1
- Add protocol compliance tests for union encodings
- Add protocol compliance tests for nullable
- Support @nullable in simpleRestJson smithy to openapi conversion HOT 1
- `JsonName` ignored in examples when generating swagger docs HOT 3
- allow specifying open api servers when constructing swagger docs
- Fields annotated with uuidFormat should result in uuid formatted string in the generated swagger docs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alloy.