basic Node.js knowledgefamiliarity with REST APIsunderstanding of rest hapi's query system
初心者向け度初回貢献者にどれだけ取り組みやすいかを 1-100 で推定したスコアです。
65
調査方針
Start by examining the existing $embed implementation in rest hapi's source code, likely in files handling query parsing (e.g., 'lib/query.js' or similar). Understand how $embed currently includes entire related resources. Then design a syntax for field selection, e.g., '$embed select=field1,field2'. Modify the query parser to accept the new option and apply field filtering when building the embedded response. Consider edge cases like nested embeddings. Add tests and update documentation.