Comments (6)
@ashmcleod Can't find the ticket, may be I've confused it with comments in the code :) You are welcome to create a ticket for that :)
from api-first-hand.
Ah. I see. You don't pass the request over to the code modified by the user. So it doesn't matter. Whatever data that is needed is passed directly by type to the method changed by the user.
from api-first-hand.
yeah, we don't pass authentication information to the controller as for now, but there is a ticket for that.
from api-first-hand.
Hi, any news or ETA on this? I would like to get SecurityExtractors information in my controllers. Is there any way to access that info from the controllers. Or maybe getting de request itself?
Wich one is the ticket realted to this?
from api-first-hand.
Hi slavaschmidt,
I think that my request is the same as moishy90's, to be able to get SecurityExtractors generated data in the generated controllers in some way. Do I have to open a new issue for this? or this one may be adecuate?
Is there any way i can get that data modifying de templates?
from api-first-hand.
Let's leave it here for now.
The idea is to get the data obtained by the SecurityExtractor
directly into the controller as a parameter.
The play.api.mvc.WrappedRequest
@moishy90 is talking about is a bit low-level for our approach, I don't have a direct idea how to do this with the API-first approach. It might very well be doable but I can't answer the question right now.
from api-first-hand.
Related Issues (20)
- HTTP response headers HOT 1
- Required properties validation HOT 5
- JSON schema enums produce code that does not compile. HOT 5
- Schema responses type should not have to start with capital letter HOT 3
- Easy question: Which of these exist vs. which of these are still in plans? HOT 2
- Run Your Application section ... ??? HOT 14
- What's Beta build-status: the plugin? HOT 5
- Type Naming of Basic Types HOT 1
- Is this doc still relevant? HOT 7
- Activator Template contents: checking/updating HOT 2
- Help with int64 & date-time HOT 5
- Extra nesting level for validation errors
- Create a testing environment for runtime issues
- Move from Activator to Giter8 HOT 2
- What is the Validation URL? HOT 1
- Use plugin without Activator HOT 2
- Add support for play 2.6
- is it possible to return a generic JSON? (no schema in swagger)
- Failure to parse a response with type: file
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 api-first-hand.