Test with tavern, the query service set the 'name' parameter with the name of the aggregate
See original GitHub issueDescribe the bug i have set a model with
class Product(Base):
__tablename__ = 'product'
id = Column(Integer, primary_key=True)
uuid = Column(String(60))
name = Column(String(80))
description = Column(Text, nullable=True)
picture = Column(String(120), nullable=True)
price_id = Column(Integer, ForeignKey('price.id'))
price = relationship("Price", backref=backref("product", **uselist=False))
the command query receive the params from the request and put the name of the aggregate class route in name parameter
To Reproduce create a model with an attribute called name send as parameter the name to the POST do a GET
Additional context From the Tavern test suite i will get the following response
{'id': '1', 'uuid': '695c5b8e-b47f-4d55-9c60-addb2eb384da', 'name': 'src.aggregates.Product', 'description': 'Product One in our catalog', 'picture': 'images/product.jpeg', 'price_id': '1'}
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Aggregate awareness | Looker - Google Cloud
The Explore query contains measure types supported by aggregate awareness (see the Measure type factors section on this page), or the Explore ...
Read more >Querying tables in script - Product Documentation | ServiceNow
Using methods in the GlideRecord API, you can return all the records in a table, return records based on specific conditions or keywords, ......
Read more >Database Engine events and errors - SQL Server
Consult this MSSQL error code list to find explanations for error messages for SQL Server database engine events.
Read more >Aggregation queries | Firestore - Firebase - Google
Stay organized with collections Save and categorize content based on your preferences. Advanced queries in Cloud Firestore allow you to quickly find documents ......
Read more >mongo_dart | Dart Package - Pub.dev
Method find returns a stream of maps and accept query parameters, usually build by ... toList(); // or Standard way await collection.find({'name': 'Tom', ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
cool,
thank you, we have to consider this feature in next releases
This bug is closely related to #219